I'm having some troubles in having Cmder working with Python through Anaconda on Windows 10 64bit.
I got Anaconda working pretty well, tested to plot something with matplotlib and it works just great with Anaconda Prompt. However, if I try to run the same .py file under Cmder, I got the following error:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 16, in <module>
from . import multiarray
ImportError: DLL load failed: The specified module could not be found.
I guess it has something to do with the path of the environment vars, but I have already added to the path the following:
Any hints?
Thanks
The default install location for Anaconda is: (Linux): /home/<your_username>/Anaconda3. (Windows): C:\Users\<your_username>\Anaconda3.
Click Start�All Programs�Anaconda (64-bit)�Anaconda Command Prompt. � A command prompt window will open. Type idle to run the Python interpreter. A new window titled Python Shell will open and you will see the Python >>> command prompt.
Assume your Anaconda3 installation path is C:\ProgramData\Anaconda3
. On your Cmder settings Startup
→ Tasks
, add a new predefined tasks
name:
whatever
and command:
cmd /k ""%ConEmuDir%\..\init.bat"" & C:\ProgramData\Anaconda3\Scripts\activate.bat C:\ProgramData\Anaconda3
To find the Anaconda path use the following command on Anaconda Prompt:
where anaconda
For example C:\ProgramData\Anaconda3\Scripts\anaconda.exe
, the path will be C:\ProgramData\Anaconda3
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