I am trying to run the vaex module which requires Python 3.6 and, apparently, a conda install rather than a pip install. I don’t really know what I’m doing here, but I went ahead and installed Anaconda and created a new conda environment through the Anaconda prompt using conda create -n research_project_conda python=3.6 vaex numpy pandas scikit-learn
. That went without any problems, and I can load the environment in VSCode. However, when I try to run a script using this environment I get the error below:
<code>Traceback (most recent call last):
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycore__init__.py", line 22, in <module>
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycoremultiarray.py", line 12, in <module>
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycoreoverrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:Usersmarij.vscodeextensionsms-python.python-2024.22.0-win32-x64python_filespython_server.py", line 133, in exec_user_input
retval = callable_(user_input, user_globals)
File "<string>", line 1, in <module>
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpy__init__.py", line 140, in <module>
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycore__init__.py", line 48, in <module>
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.6 from "C:Usersmarijminiconda3envsresearch_project_condapython.exe"
* The NumPy version is: "1.19.2"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed: The specified module could not be found.
<code>Traceback (most recent call last):
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycore__init__.py", line 22, in <module>
from . import multiarray
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycoremultiarray.py", line 12, in <module>
from . import overrides
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycoreoverrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:Usersmarij.vscodeextensionsms-python.python-2024.22.0-win32-x64python_filespython_server.py", line 133, in exec_user_input
retval = callable_(user_input, user_globals)
File "<string>", line 1, in <module>
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpy__init__.py", line 140, in <module>
from . import core
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycore__init__.py", line 48, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.6 from "C:Usersmarijminiconda3envsresearch_project_condapython.exe"
* The NumPy version is: "1.19.2"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed: The specified module could not be found.
</code>
Traceback (most recent call last):
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycore__init__.py", line 22, in <module>
from . import multiarray
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycoremultiarray.py", line 12, in <module>
from . import overrides
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycoreoverrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:Usersmarij.vscodeextensionsms-python.python-2024.22.0-win32-x64python_filespython_server.py", line 133, in exec_user_input
retval = callable_(user_input, user_globals)
File "<string>", line 1, in <module>
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpy__init__.py", line 140, in <module>
from . import core
File "C:Usersmarijminiconda3envsresearch_project_condalibsite-packagesnumpycore__init__.py", line 48, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.6 from "C:Usersmarijminiconda3envsresearch_project_condapython.exe"
* The NumPy version is: "1.19.2"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed: The specified module could not be found.
I tried to add some paths to my PATH according to this thread, but it still doesn’t work. Again, I’m a bit of a noob at this. Does anyone know what may be the issue?