windows Pycharm project interpreter nothing to show

Viewed 16460

I was using Pycharm in windows and when I tried to check my project interpreter and clicked install packaging tools, something happened wrong.

enter image description here

The error turned out:

error:[WinError 32] The process cannot access the file because it is being used by another process: 'c:\users\Username\anaconda3\lib\site-packages\setuptools-39.1.0-py3.6.egg'

I followed some tutorial online to upgrade my pip and setuptools, pip is now 10.0 and setuptools 47.1.1, but every time I open the settings, all the way same and the 'setuptools-39.1.0-py3.6.egg' keeps showing up even I delete it each time.

I was running under python 3.7, Pycharm 2018.03, Anaconda 5.4. Thanks for help!

4 Answers

Support by JetBrains advised me such a fix:

Could you please try the following steps:

  1. Close your project in PyCharm
  2. Create a backup of your .idea/ folder
  3. Remove .idea/ folder
  4. Re-open your project

It's work for me, maybe help

Had the same issue but for MacOS. It worked when I removed the .idea/ directory and reopened the project.

Had the same issue with PyCharm Community Edition (CE) for mac. No idea why the Python Interpreter tab shows this weird behavior but the interpreter should still be viewable through this path in Preferences: Build, Execution, Deployment > Console > Python Console

enter image description here

"Nothing to show here " in add packages or "error in loading python packages" Try uninstall the Python interpreter and reinstall it. Most of the Python version above 3.7 showing this error. Use python3.7 or earlier. Python 3.7 is good

Related