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

Conda 和 Visual Studio 代碼調試

Conda and Visual Studio Code debugging(Conda 和 Visual Studio 代碼調試)
本文介紹了Conda 和 Visual Studio 代碼調試的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

目標是能夠在 Visual Studio 代碼調試器中使用我從 Conda/Anaconda 設置的環境.默認的 pythonpath 配置不會產生這種效果 - 而是轉到系統默認的 python 路徑(當你在新的 shell 中鍵入 'python' 時得到的).

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 環境?

推薦答案

在前面幾個的基礎上找到了更好的解決方案:

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

轉到工作場所設置.使用包含虛擬環境列表的文件夾路徑覆蓋參數 python.venvPath.對于 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:

此設置使 VS Code 能夠識別可用的 conda 環境.因此,我們可以點擊當前的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:

這篇關于Conda 和 Visual Studio 代碼調試的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

相關文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時出現問題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節點)
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應并將元素值存儲在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對象)
主站蜘蛛池模板: 一区二区三区日韩 | 天天插天天射天天干 | аⅴ资源新版在线天堂 | 国产精品久久久久一区二区 | 9色视频在线 | 高清黄色 | 中文字幕97 | 国产日韩视频在线 | 精品一区二区三区免费视频 | 日韩一区二区免费视频 | 91看片网站 | 欧美日韩在线视频观看 | 一级全黄少妇性色生活免费看 | 欧美精品在线播放 | 亚洲成人午夜电影 | 91av视频在线观看 | 黑人精品欧美一区二区蜜桃 | 国产高清精品在线 | 免费的色网站 | 极品粉嫩国产48尤物在线播放 | 亚洲天堂中文字幕 | 国产黑丝av | 有码一区 | 久久国产精品免费一区二区三区 | av天空| 一区二区国产在线观看 | 午夜小视频免费观看 | 中文字幕a√ | 九九热精品视频 | 青青草网| 欧美日韩亚洲一区 | 日韩精品一区二区三区在线播放 | 亚洲欧美日韩国产 | 国产精品亚洲视频 | 久久日韩精品一区二区三区 | 色综合视频 | 午夜电影福利 | 欧美一区二区三区精品 | 久久香蕉精品视频 | 亚洲电影一区 | 日日夜夜精品视频 |