Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: Unable to import required dependencies: numpy: #14888

Closed
spiralulam opened this issue Nov 12, 2019 · 1 comment
Closed

ImportError: Unable to import required dependencies: numpy: #14888

spiralulam opened this issue Nov 12, 2019 · 1 comment
Labels
29 - Intel/Anaconda 32 - Installation Problems installing or compiling NumPy

Comments

@spiralulam
Copy link

spiralulam commented Nov 12, 2019

I did install Python 3.7 using miniconda. After that I tried to import pandas and got the error message shoen below. And I did uninstall and reinstall numpy using conda. Further, I checked PATH and PYTHONPATH as well as the path to python.exe. Everything seems fine. Operating system is Windows 10.

Error message:

Traceback (most recent call last):
File "C:/01_Initiatives/ap-inventory-reduction/invred/main.py", line 1, in
from invred.analysis import Analysis
File "C:\01_Initiatives\ap-inventory-reduction\invred_init_.py", line 1, in
from invred.analysis import *
File "C:\01_Initiatives\ap-inventory-reduction\invred\analysis.py", line 2, in
import pandas as pd
File "C:\Users\SudermN\AppData\Local\Continuum\miniconda3\envs\ap-inv-red\lib\site-packages\pandas_init_.py", line 17, in
"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
ImportError: Unable to import required dependencies:
numpy:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.

  • Try uninstalling and reinstalling numpy.

  • If you have already done that, then:

    1. Check that you expected to use Python3.7 from "C:\Users\SudermN\AppData\Local\Continuum\miniconda3\envs\ap-inv-red\python.exe",
      and that you have no directories in your PATH or PYTHONPATH that can
      interfere with the Python and numpy version "1.17.3" you're trying to use.
    2. If (1) looks fine, you can open a new issue at
      https://github.com/numpy/numpy/issues. Please include details on:
      • how you installed Python
      • how you installed numpy
      • your operating system
      • whether or not you have multiple versions of Python installed
      • if you built from source, your compiler versions and ideally a build log
  • If you're working with a numpy git repository, try git clean -xdf
    (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.

Original error was: DLL load failed: Das angegebene Modul wurde nicht gefunden.

Numpy/Python version information:

Python 3.7.5
Numpy 1.17.3
Pandas 0.25.2

@rossbar
Copy link
Contributor

rossbar commented Jul 22, 2020

If this is still an issue, please check out this troubleshooting guide for tips on how to resolve this problem.

Closing for now due to inactivity. If the issue persists and the troubleshooting guide doesn't help, please open a new issue with current info about the system and installation method.

@rossbar rossbar closed this as completed Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
29 - Intel/Anaconda 32 - Installation Problems installing or compiling NumPy
Projects
None yet
Development

No branches or pull requests

3 participants