The point of my question was that sys.path is clearly not being used in this
case. When I start Python sys.path includes D:\python26\lib\site-packages which
seems to be the Python default. Using sys.path.append I have tried adding both
D:\python26\lib\site-packages\PyQt4 and D:\python26\lib\site-packages\PyQt4\bin
to the path, but this has no effect. So far the only way I've found to make the
PyQt4 DLLs visible to Python is by copying them from PyQt4\bin into PyQt4.
I've tried adding stuff to the Windows PATH, but that has no effect.
Gib
Chris Rebert wrote:
On Fri, Feb 26, 2010 at 12:45 PM, Gib Bogle
<g.bo...@auckland.no.spam.ac.nz> wrote:
How can I interrogate Python to find out where it is looking to find the
PyQt4 DLLs in a Windows installation?
import sys
print(sys.path)
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list