久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Conda 和 Visual Studio 代碼調(diào)試

Conda and Visual Studio Code debugging(Conda 和 Visual Studio 代碼調(diào)試)
本文介紹了Conda 和 Visual Studio 代碼調(diào)試的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

目標(biāo)是能夠在 Visual Studio 代碼調(diào)試器中使用我從 Conda/Anaconda 設(shè)置的環(huán)境.默認(rèn)的 pythonpath 配置不會(huì)產(chǎn)生這種效果 - 而是轉(zhuǎn)到系統(tǒng)默認(rèn)的 python 路徑(當(dāng)你在新的 shell 中鍵入 'python' 時(shí)得到的).

The goal is to be able to use my environment setup from Conda/Anaconda within the visual studio code debugger. The default pythonpath configuration does not produce this effect - rather it goes to the system default python path (what you get when you type 'python' in a fresh shell).

如何配置 VS Code 以使用我的 Conda 環(huán)境?

推薦答案

在前面幾個(gè)的基礎(chǔ)上找到了更好的解決方案:

I found a better solution, based on the previous ones:

轉(zhuǎn)到工作場(chǎng)所設(shè)置.使用包含虛擬環(huán)境列表的文件夾路徑覆蓋參數(shù) python.venvPath.對(duì)于 anaconda 的情況:

Go to Workplace Settings. Override the parameter python.venvPath with the Path to folder with a list of Virtual Environments. For the case of anaconda:

此設(shè)置使 VS Code 能夠識(shí)別可用的 conda 環(huán)境.因此,我們可以點(diǎn)擊當(dāng)前的python解釋器并切換到其他的:

This setting enables VS Code to recognize the available conda environments. Thus, we can click on the current python interpreter and switch to others:

這篇關(guān)于Conda 和 Visual Studio 代碼調(diào)試的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時(shí)出現(xiàn)問(wèn)題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節(jié)點(diǎn))
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應(yīng)并將元素值存儲(chǔ)在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標(biāo)記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對(duì)象)
主站蜘蛛池模板: 国产精品久久久久久福利一牛影视 | 成人三级视频在线观看 | 亚洲日韩中文字幕一区 | 99久久精品国产一区二区三区 | 国产精品成人在线 | 91久色| 亚洲中字在线 | 成人做爰www免费看视频网站 | 亚洲人成人网 | 亚洲国产精品久久久久 | www.久草.com | 欧美三级在线 | 在线看av网址 | 麻豆av在线免费观看 | 欧美人成在线视频 | 免费在线h视频 | 中文字幕免费在线观看 | 中文字幕在线免费观看 | 日韩视频在线免费观看 | 日韩中文字幕在线 | 国产一级片在线播放 | 国产一区二 | 一级国产精品一级国产精品片 | 日本成人三级电影 | 国产高清一区二区 | 亚洲欧美一区二区三区在线 | 国产精品九九九 | 亚洲天天干 | 精品一区二区三区免费毛片 | 国产农村妇女毛片精品久久麻豆 | 91在线资源| 殴美黄色录像 | 久久久精品久久久 | 国产三区在线观看视频 | 午夜精品一区二区三区在线观看 | 精品九九久久 | 蜜月va乱码一区二区三区 | 国产yw851.c免费观看网站 | 欧美精品久久久久久久久老牛影院 | 久久久国产一区二区三区 | 久久久精品国产 |