Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to reliably compile on Linux Mint 22? #424

Open
Evert-Homan opened this issue Jan 24, 2025 · 2 comments
Open

How to reliably compile on Linux Mint 22? #424

Evert-Homan opened this issue Jan 24, 2025 · 2 comments

Comments

@Evert-Homan
Copy link

So far I have never succeeded to succesfully compile PyMol on any system. Here I tried it again on Linux Mint 22, following the description here: https://pymolwiki.org/index.php/Linux_Install.

There are some warnings but no red errors, and compilation finishes without any obvious issues. Then when I try to start PyMOL I get:

~/pymol-open-source-build/bin$ ./pymol

/usr/bin/python3: can't open file '/usr/local/lib/python3.12/dist-packages/pymol/__init__.py': [Errno 2] No such file or directory

I am aware there is a PyMOL 2.5 deb package but I found that this version crashed easily for non-obvious reasons.

Please advise on how to resolve this. Thanks/Evert

@JarrettSJohnson
Copy link
Member

Apologies, the wiki page still needs to be updated, and I'm extremely behind on updating the info here.

Clean build and installation
pip install .
Recommended for developers (build output, incremental build, and building C++ unit tests)
pip install --verbose --no-build-isolation --config-settings testing=True .
is the most to date instructions that don't call setup.py directly and uses pip instead. Also, see our linux CI for a working example:
- name: Build
run: |
pip install --upgrade pip
pip install -v --config-settings testing=True .

@Evert-Homan
Copy link
Author

pip install .

Should I run this just in the cloned repo, or what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants