Nik Posted May 29, 2021 Share Posted May 29, 2021 Can't seem to get import to work in python based scripts: Quote import vs import _CableLayoutToolv2021A.py _CableLayoutToolv2021A.run() this keeps generating the ModuleNotFoundError. the "_CableLayoutToolv2021A.py" file is in my Workgroup Plug Ins folder. I've included the Workgroup Plug Ins folder in the Python Script Environment Paths VW is seeing the VSO file that's in the Workgroup Plug Ins folder, just won't import the module thats in the same folder. Quote Link to comment
PatW Posted June 3, 2021 Share Posted June 3, 2021 have you tried importing it withgout the .py ending: Quote import _CableLayoutToolv2021A 1 Quote Link to comment
Lexxisriennnl Posted June 4, 2021 Share Posted June 4, 2021 Hey, thank you for the suggestion. I've got the same issue and it was solved by removing the .py ending. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.