Reputation: 119
I have installed Anaconda3 and PyCharm. When I go in PyCharm to File - Settings - Project Interpreter I see that Python 3.6 is used and its path goes to Anaconda. But when I go this path (C:\ProgramData\Anaconda3) and start python.exe I see Python is 3.7.3 version. Why the Python versions are different when there is the same Python?
Upvotes: 0
Views: 317
Reputation: 620
You have two python compiler installed in your machine. Go to settings - project Interpreter. Then add a new compiler (1 in the image) by specifying that it's an anaconda based (2 in the image). put conda.exe path in conda executable. Here is a screenshot of my setup. I use this setup when I don't want to work with virtual env and want to directly use my conda env.
Upvotes: 0
Reputation: 785
This is because what you see in PyCharm is just a name, that usually originates from the python executable. If you change the executable (python path), the name is not updated. You can edit it with the pencil icon. The same goes for the virtualenv between brackets.
Hope this helps!
Upvotes: 2