Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

windows Pycharm project interpreter nothing to show

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!

like image 728
register4use Avatar asked Jun 10 '20 07:06

register4use


People also ask

Why interpreter is not showing in PyCharm?

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.

How do I get to project interpreter in PyCharm?

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.


Video Answer


2 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

like image 151
Varvara Avatar answered Oct 22 '22 19:10

Varvara


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

like image 10
ssareen Avatar answered Oct 22 '22 20:10

ssareen