![](/img/trans.png)
[英]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.