简体   繁体   中英

Lost my python.exe in Pycharm with Anaconda3

Everything was working perfectly until today, when for some reason my python.exe file disappeared from the Project Interpreter in Pycharm.

It was located in C:\\users\\my_name\\Anaconda3\\python.exe , and for some reason I can't find it anywhere!

Yet, all the packages are here (in the site-packages folder), and only the C:\\users\\my_name\\Anaconda3\\pythonw.exe is available.

With the latest however, some packages I installed on top of those available in Anaconda3 won't be recognized.

Therefore, how to get back the python.exe file?

I just had the same issue and found out that Avast removed it because it thought it was a threat. I found it in Avast -> Protection -> Virus Chest. And from there, you have the option to restore it.

The answer repeats the comment to the question.

I had the same issue once after Anaconda update - python.exe was missing. It was Anaconda 3 installed to Program Files folder by MS Visual Studio (Python 3.6 on Windows10 x64).

To solve the problem I manually copied python.exe file from the most fresh python package available (folder pkgs then folder like python-3.6.8-h9f7ef89_7 ).

今天我在 anaconda 中的现有环境中缺少 Python.exe,因此我使用 anaconda 克隆我的环境以重新创建 Python.exe 并在 Spyder 中再次使用它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM