the pyqt installer should have done this for you. that is the only way
python can import a module, ie. python looks through the paths to find
your module.
*written with my thumbs
On Jul 29, 2013, at 8:07 AM, Byungchul Kang <k...@cgndev.com> wrote:
I did retry to install the PyQt4 on Softimage 2014 SP2, Win8 x64,
PyQt py2.7 x64. and without (pywin32)
and i got some error as below..
# ImportError: No module named sip
# - [line 2 in X:\Softimage_PlugIn_WorkGroup\for2014_Plug_In\Addons
\PyQtForSoftimage\Application\Plugins\pyqt_example.py]
# ERROR : Traceback (most recent call last):
# File "<Script Block 2>", line 1, in <module>
# from PyQt4.QtCore import Qt
# ImportError: No module named PyQt4.QtCore
# - [line 1 in X:\Softimage_PlugIn_WorkGroup\for2014_Plug_In\Addons
\PyQtForSoftimage\Application\Plugins\qtevents.py]
But, I solved it. just added PYTHONPATH into EnvironPath as below.
PYTHONPATH = C:\KrakatoaSR_Python\windows;C:\Python27\Lib\site-
packages;
It is working well..
is it good way to solve?? any idea?
Thanks
Kang
--
Byungchul Kang | MBC CG TEAM [http://imbc.com]
http://cgndev.com