Comment 2 for bug 2061036

Revision history for this message
Jack Howarth (jwhowarth) wrote :

It appears that the following does find the pymol module when executed within python3.12.

% python3.12
Python 3.12.2 (main, Feb 10 2024, 11:33:20) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib.util import find_spec
>>> print(f".libs imports {find_spec('pymol')}")
.libs imports ModuleSpec(name='pymol', loader=<_frozen_importlib_external.SourceFileLoader object at 0x1035b81a0>, origin='/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pymol/__init__.py', submodule_search_locations=['/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pymol'])