This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: import error for numpy
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.6
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: SriramSudharsan, mark.dickinson
Priority: normal Keywords:

Created on 2017-07-31 14:44 by SriramSudharsan, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Capture.JPG SriramSudharsan, 2017-07-31 14:44 ScreenShot for Failed lib
Messages (3)
msg299559 - (view) Author: Sriram (SriramSudharsan) Date: 2017-07-31 14:44
When i tried to import numpy for any program in VS 2017, it returns with Import Error.

Traceback (most recent call last):
  File "C:\Program Files\Python36\lib\site-packages\numpy\core\__init__.py", line 16, in <module>
    from . import multiarray
ImportError: DLL load failed: The specified procedure could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Sriram Sudharsan\documents\visual studio 2017\Projects\TestApp1\TestApp1\TestApp1.py", line 1, in <module>
    import numpy as np
  File "C:\Program Files\Python36\lib\site-packages\numpy\__init__.py", line 142, in <module>
    from . import add_newdocs
  File "C:\Program Files\Python36\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "C:\Program Files\Python36\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
    from .type_check import *
  File "C:\Program Files\Python36\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "C:\Program Files\Python36\lib\site-packages\numpy\core\__init__.py", line 26, in <module>
    raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: DLL load failed: The specified procedure could not be found.

Press any key to continue . . .
msg299560 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2017-07-31 14:49
Hi Sriram,

NumPy is a third party package, not maintained by the Python core developers; you likely need to report this on the NumPy bug tracker (though it's probably worthwhile asking on the NumPy user mailing lists first).

Closing here, since this almost certainly isn't a core Python issue.
msg299570 - (view) Author: Sriram (SriramSudharsan) Date: 2017-07-31 16:15
Yes, i just found that after creating the issue, Sorry. 

Anyhow thanks for quick response, i have addressed this to numpy team.
https://github.com/numpy/numpy/issues/9501
History
Date User Action Args
2022-04-11 14:58:49adminsetgithub: 75273
2017-07-31 16:15:24SriramSudharsansetmessages: + msg299570
2017-07-31 14:49:04mark.dickinsonsetstatus: open -> closed

nosy: + mark.dickinson
messages: + msg299560

resolution: third party
stage: resolved
2017-07-31 14:44:19SriramSudharsancreate