Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

No module named 'adsk'

Anonymous

No module named 'adsk'

Anonymous
Not applicable

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

 

0 Likes
Reply
1,170 Views
3 Replies
Replies (3)

kandennti
Mentor
Mentor

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.

0 Likes

Anonymous
Not applicable

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?

0 Likes

Anonymous
Not applicable

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?

0 Likes