I was trying to load Python modules form Anaconda, by adding the path as shown in the image.
These modules worked fine under sypder.
I got this error when importing numpy:
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.8 from “C:\DynamoCoreRuntime_2.8.0.1955_20200714T1155\DynamoSandbox.exe”
- The NumPy version is: “1.18.5”
and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help.
Original error was: No module named ‘numpy.core._multiarray_umath’
[’ File “”, line 20, in \n’, ’ File “C:\Users\J\anaconda3\lib\site-packages\numpy\init.py”, line 142, in \n from . import core\n’, ’ File “C:\Users\J\anaconda3\lib\site-packages\numpy\core\init.py”, line 50, in \n raise ImportError(msg)\n’]
Got this error when importing cv2:
ModuleNotFoundError : No module named ‘cv2’ [’ File “”, line 20, in \n’]