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

import error for numpy #75273

Closed
SriramSudharsan mannequin opened this issue Jul 31, 2017 · 3 comments
Closed

import error for numpy #75273

SriramSudharsan mannequin opened this issue Jul 31, 2017 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@SriramSudharsan
Copy link
Mannequin

SriramSudharsan mannequin commented Jul 31, 2017

BPO 31090
Nosy @mdickinson, @SriramSudharsan
Files
  • Capture.JPG: ScreenShot for Failed lib
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-07-31.14:49:04.032>
    created_at = <Date 2017-07-31.14:44:19.649>
    labels = ['library']
    title = 'import error for numpy'
    updated_at = <Date 2017-07-31.16:15:24.446>
    user = 'https://github.com/SriramSudharsan'

    bugs.python.org fields:

    activity = <Date 2017-07-31.16:15:24.446>
    actor = 'SriramSudharsan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-07-31.14:49:04.032>
    closer = 'mark.dickinson'
    components = ['Library (Lib)']
    creation = <Date 2017-07-31.14:44:19.649>
    creator = 'SriramSudharsan'
    dependencies = []
    files = ['47053']
    hgrepos = []
    issue_num = 31090
    keywords = []
    message_count = 3.0
    messages = ['299559', '299560', '299570']
    nosy_count = 2.0
    nosy_names = ['mark.dickinson', 'SriramSudharsan']
    pr_nums = []
    priority = 'normal'
    resolution = 'third party'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31090'
    versions = ['Python 3.6']

    @SriramSudharsan
    Copy link
    Mannequin Author

    SriramSudharsan mannequin commented Jul 31, 2017

    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 . . .

    @SriramSudharsan SriramSudharsan mannequin added the stdlib Python modules in the Lib dir label Jul 31, 2017
    @mdickinson
    Copy link
    Member

    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.

    @SriramSudharsan
    Copy link
    Mannequin Author

    SriramSudharsan mannequin commented Jul 31, 2017

    Yes, i just found that after creating the issue, Sorry.

    Anyhow thanks for quick response, i have addressed this to numpy team.
    numpy/numpy#9501

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant