Jump to content

Python can't find import module


Recommended Posts

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.

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...