I created a conda environment - testenv2 - installed python/numpy/pandas. Added it as the interpreter in Eclipse project settings and using it to run my test python script. And I am getting the below error. The same test script works fine from command line when I activate the conda environment and run from with in it. It also works from PyCharm. But somehow fails to launch in Eclipse.
Traceback (most recent call last):
File "C:\Data\projects\eclipse-workspace\PythonEclipse\Test.py", line 1, in <module>
import numpy as np
File "C:\Data\devtools\Anaconda3\envs\testenv2\lib\site-packages\numpy\__init__.py", line 140, in <module>
from . import _distributor_init
File "C:\Data\devtools\Anaconda3\envs\testenv2\lib\site-packages\numpy\_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.
If I just run the same test script using my root Conda Python interpreter, it works fine. So it is only when I try to use the environment I created from conda.
Thanks for the help!