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: 

No module named 'adsk'

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
1055 Views, 3 Replies

No module named 'adsk'

Hi There!!!

 

I'm trying to use Python with visual studio, but I get I get the error:

ModuleNotFoundError: No module named 'adsk'

 

I tested the troubleshooting mention here:

Python cannot import Adsk.core module 

 

import sys
sys.path.append("C:/Users/xx/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Python/defs")

import adsk.core, adsk.fusion, adsk.cam, traceback

 

But I just keep getting the same error.

 

Looking forward for your advice,

Thanks

 

Labels (2)
3 REPLIES 3
Message 2 of 4
kandennti
in reply to: Anonymous

Hi @Anonymous .

 

Try it in VS Code instead of visual studio.

Yes, there are warnings, but I don't think it will affect execution or development.

Message 3 of 4
Anonymous
in reply to: kandennti

Sry I mean Visual studio code.

Well you are right, but it takes few more clicks and moves.

Idealy I should be able to press run  on VSC and see the changes on F360.

Do you know is this is possible?

Message 4 of 4
Anonymous
in reply to: kandennti

Sry I mean Visual studio code.

Well you are right, but it takes few more clicks and moves.

Idealy I should be able to press run  on VSC and see the changes on F360.

Do you know is this is possible?

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

Post to forums  

Autodesk Design & Make Report