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: 

Numpy import error

1 REPLY 1
Reply
Message 1 of 2
jc42shcool
214 Views, 1 Reply

Numpy import error

Hello, I have a difficult time importing Numpy...

I know there are a lot of posts about importing Numpy error. I was able to fix it by using the site-packages install method to my local folder Module. However, today it somehow cannot find the Numpy again. I was wondering is it possible to have Numpy package inside the fusion 360 API? Therefore, the user can just import Numpy directly.

Thank you

Jeff

1 REPLY 1
Message 2 of 2
goyals
in reply to: jc42shcool

Fusion comes with standard python package and I do not think there is any plan to include any new module in it. But generally approach of having site-package in your script directory should work. May be you can try to check if your script folder is included in python search path or not using below script.

 

import sys

sys.path 



Shyam Goyal
Sr. Software Dev. Manager

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