[chimerax-users] Dependency trouble
Anthony James Schaefer
tony.schaefer at uga.edu
Fri Apr 8 08:26:44 PDT 2022
Is the other computer running a ChimeraX daily build? They are looking to switch to PyQt6 in one of the next versions. A ChimeraX developer would have more details on that.
Try changing your PyQt5 imports to just "Qt" (e.g. from Qt.QtWidgets import QPushButton). ChimeraX uses a shim to make things less dependent on the version of the Python Qt wrapper.
Best,
Tony
________________________________
From: ChimeraX-users <chimerax-users-bounces at cgl.ucsf.edu> on behalf of William Hofsøy via ChimeraX-users <chimerax-users at cgl.ucsf.edu>
Sent: Friday, April 8, 2022 7:53 AM
To: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
Subject: [chimerax-users] Dependency trouble
[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
Hi,
I was attempting to install my chimerax bundle on a different computer and encountered the error:
No module named 'PyQt5'
So I added this line to the bundle_info.xml under the Dependencies tag:
<Dependency name="PyQt5"/>
But I still get the same error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20220408/464cb399/attachment.html>
More information about the ChimeraX-users
mailing list