<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Tony<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edu> on behalf of William Hofsøy via ChimeraX-users <chimerax-users@cgl.ucsf.edu><br>
<b>Sent:</b> Friday, April 8, 2022 7:53 AM<br>
<b>To:</b> chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> [chimerax-users] Dependency trouble</font>
<div> </div>
</div>
<div><font color="BA0C2F">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]</font><br>
<br>
<div>
<div dir="ltr">
<div>Hi,</div>
<div>I was attempting to install my chimerax bundle on a different computer and encountered the error:</div>
<div>No module named 'PyQt5'</div>
<div><br>
</div>
<div>So I added this line to the bundle_info.xml under the Dependencies tag:</div>
<div><Dependency name="PyQt5"/></div>
<div><br>
</div>
<div>But I still get the same error?</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>