Data360 Analyze

 View Only
  • 1.  Error while importing numpy package

    Employee
    Posted 12-28-2018 03:28

    Hi,

     

    I am getting the following error when I try to import numpy package in the python node in dataverse:

     

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

    I have copied the following folders from my anaconda installation:

    numpy

    numpy-1.12.1-py3.6.egg-info

     

    into:

    C:\Program Files\Dataverse\platform\windows-x86-64\python\Lib\site-packages

     

    Please let me know what could be the issue? I am able to import other packages like openpyxl etc.

     

     

     

     



  • 2.  RE: Error while importing numpy package

    Posted 12-31-2018 05:52

    Is the package compatible with Python 2.7? If it's a newer version can you try a 2.7 one.



  • 3.  RE: Error while importing numpy package

    Employee
    Posted 01-02-2019 03:45

    Per Gerry's comment, the name of the package egg-info (numpy-1.12.1-py3.6.egg-info) would suggest it is intended for use with Python 3.6.

    Rather than copying the files manually, I would recommend using pip to install the packages and any prerequisites - see the instructions in the 'Install_numpy_pandas_in_Data3Sixty_Analyze.zip' archive file attached to the comment in this forum post:

    https://support.infogix.com/hc/en-us/community/posts/360028940833-Importing-Libraries-and-running-Python-Script 



  • 4.  RE: Error while importing numpy package

    Employee
    Posted 04-29-2019 03:23

    Reposting here the reply from Tejasvi Raghunath that was posted earlier today on the old community forum:

    "Our organization HSBC does not allow downloads from the internet. So the pip-install won't work. So kind of stuck as to how I am going to import these packages now."

     

    Pip can import packages from a local directory or local repo. You should contact your administrator to see whether they can make the package available to you locally. You would also need to ensure that all prerequisite packages are also available locally.