Error importing numpy from Anaconda, using conda (DLL load failed: The specified module could not be found)
Very clear discussion of what went wrong can be found in the bug-report on GitHub:
https://github.com/conda/conda/issues/7833
Summarized, using PyCharm with an unactivated environment is unsupported. So either use anaconda prompt, activate your environment and launch PyCharm from there, or re-install anaconda/mini-conda with the option "add-to-path" checked
ImportError: DLL load failed: The specified module could not be found in VS code Jupyter notebook with anaconda environment
Posting the answer if anyone is stuck on the same issue. After trying the two above-mentioned steps. I have opened the terminal in VS code and activated my environment
conda activate myenv
Next run
>code .
in the VS code's terminal. If it does not work close VS code and repeat this step.
If the issue still persists then
- Open anaconda prompt.
- Change the directory to location where jupyter notebook is preset.
- execute
code .
- Try running the import statement now.
Source
Related Topics
How to Normalize JSON Correctly by Python Pandas
How to Format Axis Number Format to Thousands with a Comma in Matplotlib
Check If Value Already Exists Within List of Dictionaries
Can't Open Lib 'Odbc Driver 13 for SQL Server'? Sym Linking Issue
Passing a Data Frame Column and External List to Udf Under Withcolumn
Python Command Line Input in a Process
Python Float to Int Conversion
Filtering a List Based on a List of Booleans
Python 2.7:Write to File Instantly
Kivy Not Working (Error: Unable to Find Any Valuable Window Provider.)
Nameerror: Name 'Datetime' Is Not Defined
Python: How to Remove Empty Lists from a List
Can a Decorator of an Instance Method Access the Class
Iterate Over Individual Bytes in Python 3
Getting List of Pixel Values from Pil