本文介绍了在Pycharm无法添加conda环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功下载并安装了Anaconda3,但是当我在pycharm中添加conda环境时,出现错误"D:\ Anaconda3 \ python.exe:无法打开文件'create':[Errno 2]没有此类文件或目录"

I hava dowmload and installer Anaconda3 successfully ,but when I add conda environment in pycharm ,has the error "D:\Anaconda3\python.exe: can't open file 'create': [Errno 2] No such file or directory"

如何处理这个问题

推荐答案

您需要提供conda可执行文件的路径,以创建conda venv而不是python.请参阅下面的图像,以查看conda可执行文件的可能位置.

you need to provide path to the conda executable for making a conda venv and not python. See the image attached below to see a possible location of the conda executable.

PS:我还没有10分,所以该图像是链接.

PS: I don't have 10 point yet so the image is a link.

在此处输入图片描述

这篇关于在Pycharm无法添加conda环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 22:08