I was using Pycharm in windows and when I tried to check my project interpreter and clicked install packaging tools, something happened wrong.
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!
so, go to -> ctrl + alt + s -> search interpreter -> go to project interpreter than select Python 3.6 in the dropdown menu. Edit: If there is no Python interpreter in drop-down menu, you should click the gear icon that on the right of the drop-down menu --> add --> select an interpreter . Show activity on this post.
Click the Python Interpreter selector and choose Add Interpreter. Press Ctrl+Alt+S to open the project Settings/Preferences and go to Project <project name> | Python Interpreter.
Support by JetBrains advised me such a fix:
Could you please try the following steps:
- Close your project in PyCharm
- Create a backup of your .idea/ folder
- Remove .idea/ folder
- 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With