Public bug reported:

The python 3.12 in use on noble causes pymol in the pymol
2.5.0+dfsg-1build6 to fail on the command line with the error...

Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/usr/lib/python3/dist-packages/pymol/__init__.py", line 81, in <module>
    from imp import find_module
ModuleNotFoundError: No module named 'imp'

Commenting out the line...

# from imp import find_module

in /usr/lib/python3/dist-packages/pymol/__init__.py appears to be
sufficient to allow pymol to run.

** Affects: pymol (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061036

Title:
  pymol 2.5.0+dfsg-1build6 fails to start on noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pymol/+bug/2061036/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to