Skip to content

Comments

Replaced copy_tree from distutils with copytree from shutil to fix script crashing#3

Open
carpit680 wants to merge 2 commits intoSpaceMaster85:masterfrom
carpit680:master
Open

Replaced copy_tree from distutils with copytree from shutil to fix script crashing#3
carpit680 wants to merge 2 commits intoSpaceMaster85:masterfrom
carpit680:master

Conversation

@carpit680
Copy link

Replaced copy_tree from distutils with copytree from shutil to fix script crashing with below error:

SCRIPT ERROR

Traceback (most recent call last):
File "/Users/local/Library/Application Support/Autodesk/Autodesk Fusion 360/API/Scripts/URDF_Exporter/URDF_Exporter.py", line 7, in
from .utils import utils
File "/Users/local/Library/Application Support/Autodesk/Autodesk Fusion 360/API/Scripts/URDF_Exporter/utils/utils.py", line 12, in
from distutils.dir_util import copy_tree
ModuleNotFoundError: No module named 'distutils'

replaced distutils with shutil to fix script crashes
Replaced copy_tree from distutils with copytree from shutil to fix script crashing
@DanielEikelenboom
Copy link

Got this error as well, and this fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants