I had Anaconda on Windows 10 installed in C:\ProgramData\Anaconda3 before using PyCharm. Now PyCharm displays: "Anaconda installation is not found" when I try using a conda env.
I also added Anaconda to PATH.
Is there a way to show PyCharm where Anaconda is installed?
I faced the same issue on Ubuntu 16.04 where I had Anaconda installed under
~/.local/opt/anaconda3
. Creating a symlink under~/anaconda3
solved the issue for me.There is an open bug, currently PyCharm and IDEA both seem to detect Conda installation only from %HOMEPATH%/anaconda. https://youtrack.jetbrains.com/issue/PY-26923
The easiest workaround is to create a symlink to $HOME/.anaconda
Note that C:\ProgramData\Anaconda3 should be replaced with the path to your Anconda installation. If you selected to installed it for "Just Me" instead of "All Users", your default location will be
UPDATE: This issue is now fixed in IDEA and PyCharm since version 2018.1. You can specify a custom path under Python Interpreter or SDK settings in Conda Environment section.
I fixed this by:
My theory is that VS2017 installs Anaconda in a non-default location, and PyCharm cannot find it. The Anaconda installer states that VS2017 should still work fine with Python, even after this change.
In @Ahti Kitsik's answer above, the following line did not work, and resulted in a an error: mklink /D %HOMEPATH%\anaconda C:\ProgramData\Anaconda3
Because of a different install location, the following worked for me:
"C:\Dev\Anaconda3" should be the anaconda installation folder on your PC.
Also, be sure to run the cmd with administrator privilege, otherwise you will get a permission error when trying to create the symlink.
You can't find anaconda python in your console at first.Click Configure Interpreters in blue.
Click the little gear under reset in blue(right + up corner), and chose 'add local'. point to your python in anaconda
Here you are
mklink /D %HOMEDRIVE%%HOMEPATH%\anaconda "C:\Program Files\Anaconda3"