Closed kiryha closed 6 years ago
Hi, Pasha!
I place package to C:/pw_multiScriptEditor, create shelf tool with a code:
path = 'C:/pw_multiScriptEditor/' sys.path.append(path) import pw_multiScriptEditor pw_multiScriptEditor.showHoudini(name='Multi Script Editor',replacePyPanel=1, hideTitleMenu=0)
And get an error:
Traceback (most recent call last): File "multiScriptEditor", line 4, in <module> ImportError: No module named pw_multiScriptEditor
move folder pw_multiScriptEditor to subfolder, for example "scripts" and add this folder to sys.path. Not pw_multiScriptEditor but parent folder.
That solve, thanks!
Hi, Pasha!
I place package to C:/pw_multiScriptEditor, create shelf tool with a code:
And get an error: