Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Importing Numpy error

1 REPLY 1
Reply
Message 1 of 2
1603600f
1320 Views, 1 Reply

Importing Numpy error

raise ImportError(msg)
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.

 

Hi, am a student and I have been trying to solve this issue. 

My steps were:

 

1) pip install numpy

2) Go to python site-packeges and copy all the numpy files(numpy &numpy-1.15.4.dist-info)

3)Go to my script, put into my file called Modules

4)add code on my script: from .Modules import numpy as np

 

I did these fro my xrld & xlwt python modules, and it works perfectly. 

 

Thank you.

Tags (2)
1 REPLY 1
Message 2 of 2
goyals
in reply to: 1603600f

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report