gpt4 book ai didi

python - VS2017中使用conda环境

转载 作者:太空宇宙 更新时间:2023-11-03 15:12:57 29 4
gpt4 key购买 nike

我想在 VS2017 中使用 conda 虚拟环境,但出现错误,无法识别所选路径中的虚拟环境。下面的截图不是我的,而是来自这个SO question ,这很相似,但没有解决我的问题。我的路径是C:\Users\USERNAME\.conda\envs\tensorflow .

We could not identify a virtual environment in the selected path.

我已使用 Visual Studio 2017 安装程序安装了 python 3.6 和 anaconda 4.3.0。然后我按照SO的步骤操作到create a python 3.5 environment for tensorflow .

我的猜测是 Visual Studio 无法识别 python 3.5 安装,但我不确定在不弄乱我的系统的情况下解决该问题的最佳方法是什么。

有一个similar SO question ,但没有任何反应。这是我的 python diagnostic info 的要点来自 VS 2017。

最佳答案

哎呀,原来是这个SO answer毕竟是正确的。在 Visual Studio 中创建自定义环境后即可使用。

关于python - VS2017中使用conda环境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44085769/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com