ImportError: DLL load failed for multiarray in numpy.

I'm using a windows machine with pycharm. I've written a pytest and running the pytest from the terminal (anaconda prompt with base environment) works. However, running the same pytest in pycharm with the interpreter set to the same anaconda environment does not work. Could someone please help? Screenshots attached below. 

1 comment
Comment actions Permalink

Hi, what PyCharm version are you using? If not the latest one, please upgrade, otherwise please try PyCharm 2019.1.3 RC as it contains a major conda fix:

JetBrains PyCharm Preview (EAP) - PyCharm - Confluence


An alternative workaround would be to run PyCharm from the system terminal while you have base conda activated, using `<pycharm_install_path>/bin/pycharm.bat` file.


Please sign in to leave a comment.