[chimerax-users] Problems with Qt6

Greg Couch gregc at cgl.ucsf.edu
Thu Oct 6 13:35:21 PDT 2022


That means that the Ubuntu 22.04 container is running on top of an OS 
that has too old of a kernel.  For example, RHEL/CentOS 7. ChimeraX 
needs a 3.11 kernel or newer.   So, if you run the container on top of a 
newer version of Linux, like RHEL 8, you'd be fine.

For an unsupported way to workaround the problem, see 
https://www.rbvi.ucsf.edu/pipermail/chimerax-users/2022-June/003880.html. 
If you are not using the GUI, then the workaround should be fine. If you 
are using the GUI, ChimeraX might crash in mysterious ways.

     HTH,

     Greg

On 10/6/22 12:26, Hoover, David (NIH/CIT) [E] via ChimeraX-users wrote:
> 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


More information about the ChimeraX-users mailing list