[英]PyCharm not finding Anaconda Python, giving "can't open file 'python': [Errno 2] No such file or directory?"
[英]PyCharm not finding Anaconda Python, giving “can't open file 'python.py': [Errno 2] No such file or directory?”
我是 Python 的新手。 在我的系统上安装了 Anaconda。 我也安装了 PyCharm。 当我尝试从 PyCharm 运行文件时,我收到以下错误消息:
C:/Users/liuzh/PycharmProjects/tensorflow/venv/Scripts/python.exe
C:/Users/liuzh/.PyCharmCE2019.3/config/scratches/python.py
C:/ProgramData/Anaconda3/python.exe: can't open file 'C:/Users/liuzh/.PyCharmCE2019.3/config/scratches/python.py': [Errno 2] No such file or directory
进程完成,退出代码 2
正如它所说,没有这样的文件或目录。 您可以尝试两件事:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.