Hey,
I’m trying to run pyblish_qml with maya, and understood the best way would be using pyblish_shell (correct?)
(Running on OSX Sierra)
from terminal:
export PYTHONPATH=$PYTHONPATH:/path/to/pyblish_qml
pyblish_shell -m pyblish_qml “$@”
Getting me to here:
Traceback (most recent call last):
File “/Library/Python/2.7/site-packages/cx_Freeze/initscripts/Console.py”, line 27, in
File “pyblish_shell.py”, line 77, in
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 176, in run_module
fname, loader, pkg_name)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-qml/pyblish_qml/main.py”, line 6, in
from . import app
File “/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-qml/pyblish_qml/app.py”, line 12, in
from PyQt5 import QtCore, QtGui, QtQuick, QtTest
File “ExtensionLoader_PyQt5_QtCore.py”, line 22, in
File “ExtensionLoader_PyQt5_QtCore.py”, line 14, in bootstrap
ImportError: dlopen(/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/PyQt5.QtCore.so, 2): Library not loaded: ./QtCore
Referenced from: /Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/PyQt5.QtCore.so
Reason: image not found
liors-MacBook-Pro:~ liorbenhorin$ /Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/pyblish_shell -m pyblish_qml
Traceback (most recent call last):
File “/Library/Python/2.7/site-packages/cx_Freeze/initscripts/Console.py”, line 27, in
File “pyblish_shell.py”, line 77, in
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 176, in run_module
fname, loader, pkg_name)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-qml/pyblish_qml/main.py”, line 6, in
from . import app
File “/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-qml/pyblish_qml/app.py”, line 12, in
from PyQt5 import QtCore, QtGui, QtQuick, QtTest
File “ExtensionLoader_PyQt5_QtCore.py”, line 22, in
File “ExtensionLoader_PyQt5_QtCore.py”, line 14, in bootstrap
ImportError: dlopen(/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/PyQt5.QtCore.so, 2): Library not loaded: ./QtCore
Referenced from: /Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/PyQt5.QtCore.so
Reason: image not found
To simplify, even when i run
pyblish_shell, and then from within the interpreter I run:
>>from PyQt5 import QtWidgets
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "ExtensionLoader_PyQt5_QtWidgets.py", line 22, in <module>
File "ExtensionLoader_PyQt5_QtWidgets.py", line 14, in __bootstrap__
ImportError: dlopen(/Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/PyQt5.QtWidgets.so, 2): Library not loaded: ./QtWidgets
Referenced from: /Users/liorbenhorin/Documents/Projects/2016/GitHub/pyblish-shell-1.1.3-build80-osx-x64/PyQt5.QtWidgets.so
Reason: image not found
Sorry for the long paths, I’m was just running a dirty test but couldn’t get far
Any help appreciated!