[chimerax-users] Problems with Qt6

Hoover, David (NIH/CIT) [E] hooverdm at hpc.nih.gov
Thu Oct 6 12:26:51 PDT 2022


Hi,

I'm trying to create a Ubuntu 22.04 container for ChimeraX v1.4 and no matter what I do I get this error message:

NOTE: Traceback (most recent call last):
   File "/usr/lib/ucsf-chimerax/lib/python3.9/runpy.py", line 197, in
_run_module_as_main
     return _run_code(code, main_globals, None,
   File "/usr/lib/ucsf-chimerax/lib/python3.9/runpy.py", line 87, in _run_code
     exec(code, run_globals)
   File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/ChimeraX_main.py",
line 1021, in <module>
     exit_code = init(sys.argv)
   File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/ChimeraX_main.py",
line 573, in init
     from chimerax.ui import initialize_qt
   File "/usr/lib/ucsf-chimerax/lib/python3.9/site-
packages/chimerax/ui/__init__.py", line 21, in <module>
     from .gui import MainToolWindow, initialize_qt, menu_capitalize
   File "/usr/lib/ucsf-chimerax/lib/python3.9/site-
packages/chimerax/ui/gui.py", line 130, in <module>
     from Qt.QtWidgets import QApplication
   File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/Qt/__init__.py",
line 64, in <module>
     from PyQt6.QtCore import PYQT_VERSION_STR as PYQT6_VERSION
ImportError: libQt6Core.so.6: cannot open shared object file: No such file or
directory
   

BUG: ImportError: libQt6Core.so.6: cannot open shared object file: No such file or
directory
   
File "/usr/lib/ucsf-chimerax/lib/python3.9/site-packages/Qt/__init__.py", line
64, in
from PyQt6.QtCore import PYQT_VERSION_STR as PYQT6_VERSION
   
  _See log for complete Python traceback._

I am attempting to install into Ubuntu 22.04 with ever Qt6 package available, but nothing seems to help.  The library in question definitely exists at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6, along with a multitude of other libQt6* libraries.

Is there something additional that needs to be done or installed to enable ChimeraX v1.4 to run?  I have tried

   export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH

but this does not help.  Any insight would be appreciated.

David
-- 
David Hoover, Ph.D.
Computational Biologist
High Performance Computing Services,
Center for Information Technology,
National Institutes of Health
12 South Dr., Rm 2N207
Bethesda, MD 20892, USA
TEL: (+1) 301-435-2986
Email: hooverdm at hpc.nih.gov


More information about the ChimeraX-users mailing list