Import errors after installing new python version

Import errors after installing new python version

JRDesign123
Contributor Contributor
522 Views
1 Reply
Message 1 of 2

Import errors after installing new python version

JRDesign123
Contributor
Contributor

Hi guys, 

 

I recently installed a new python version and fiddled around with it, and now I cant run or debug any fusion addin, 

 

I get 

 

Exception has occurred: ImportError
  •  
DLL load failed while importing _core: The specified module could not be found.
File "C:\Users\mrnic\AppData\Local\Autodesk\webdeploy\production\b0c303e70bd97cfdc195adab65922cfeffcb363a\...", line 15, in <module> import _core ImportError: DLL load failed while importing _core: The specified module could not be found.
 
On the Line: 
import adsk, adsk.core, adsk.fusion, traceback
 
I tried to reinstall Fusion 360 completely but that didnt resolve the issue.
 
Unfortunately im not familiar enough with python to figure out why this is happening, the files seem to be there. 
 
Any Tips would be greatly appreciated!
0 Likes
523 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor

Fusion installs and uses its own version of Python. You don't need to install Python on your own. Are you trying to program Fusion using the Python you installed? That won't work. You need to start VS Code from within Fusion using the Scripts and Add-Ins dialog so it will start VS Code connected to Fusion's Python.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes