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

Find python interpreter automatically #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TimmRuppert
Copy link

Strictly following the readme on a fresh Ubuntu 22.04 will not build openmcx as python cannot be found.

Instead of relying on python-is-python3 (which is not mentioned in the readme) there is a cmake function to find an installed python interpreter. According to the manual this function was introduced in cmake 3.12 and openmcx already requires > 3.14.

I tested this on my fresh 22.04 installation.

@robincaloudis
Copy link

robincaloudis commented Feb 11, 2024

Good catch. I've encountered the same issue.

@ClemensLinnhoff
Copy link

Me, too. Can this be merged?

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

Successfully merging this pull request may close these issues.

3 participants