Closed mxchinegod closed 5 years ago
There is no PATH
mixup and this is not the recommended approach to fixing this issue. Please read https://github.com/ContinuumIO/anaconda-issues/issues/1508#issuecomment-446339859 and https://github.com/ContinuumIO/anaconda-issues/issues/1508#issuecomment-450762436
The best thing to happen would be for PyCharm to activate conda environments properly.
Until then, the next best option is to launch PyCharm from the Anaconda Prompt
.
I am closing this as there's nothing for us to do here and anyone who's followed my instructions carefully has been able to get past this.
When you import numpy you get this error, right?
python -c "import numpy"
So go to the Anaconda folder and go to site-packages folder according to the environment of anaconda. Then go to numpy.libs folder. There are *.dll file, right?
Now copy the link to the .libs folder and enter the path with "PATH" in anaconda prompt.
PATH=path\to\site-packages\numpy\.libs;%PATH%
Now check again to import numpy.
python -c "import numpy"
Now it is working right?
I have the same problem with Anaconda python 3.6 on windows10. while importing numpy
I figured out that there is a build problem between pip and conda so I did this
pip uninstall numpy
conda install numpy
Now it's working fine!
I've uninstalled, checked my environment variables, made sure I didn't have a conflicting .dll as detailed in this post: https://github.com/ContinuumIO/anaconda-issues/issues/835 to no avail.
I have Anaconda installed on another computer and it runs. Using Anaconda 4.3 on one and 4.2 on another. I've tried installing the same version on both, also didn't work. I don't know what the discrepancy is. There is no conflicting python version.
First noticed this when using pandas in the program (numpy dependency error). WIndows 10 x64. Just one day started doing this.