<div dir="ltr"><div>Hi again,</div><div>I am indeed running a daily build on that computer.<br></div><div>I tried your suggestion and it works partially but there are some issues.</div><div>For instance I am getting:<br></div><div>cannot import name 'QRegExp' from 'Qt.QtCore'</div><div><br></div><div>And I am also not sure how to set this up with pycharm as there is no module actually named just Qt. Which means I am getting red squiggles all over and it breaks the autocomplete.</div><div>I am also curious as to why adding PyQt5 to the dependencies doesn't work.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">fre. 8. apr. 2022 kl. 17:26 skrev Anthony James Schaefer <<a href="mailto:tony.schaefer@uga.edu">tony.schaefer@uga.edu</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div 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="gmail-m_-9207635467380912528appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-9207635467380912528divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> ChimeraX-users <<a href="mailto:chimerax-users-bounces@cgl.ucsf.edu" target="_blank">chimerax-users-bounces@cgl.ucsf.edu</a>> on behalf of William Hofsøy via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a>><br>
<b>Sent:</b> Friday, April 8, 2022 7:53 AM<br>
<b>To:</b> <a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a> <<a href="mailto:chimerax-users@cgl.ucsf.edu" target="_blank">chimerax-users@cgl.ucsf.edu</a>><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>
</div>
</blockquote></div>