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

Side effect of change for Python 3.11 in configure. #174

Open
Blady-Com opened this issue Jun 8, 2024 · 0 comments
Open

Side effect of change for Python 3.11 in configure. #174

Blady-Com opened this issue Jun 8, 2024 · 0 comments
Assignees

Comments

@Blady-Com
Copy link

Configure was adapt to Python 3.11 in this change:

  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version.split(' ')[0])"`

Unfortunately, I got an error:

checking for python3.11.7... no
configure: error: Cannot find python3.11.7 in your system path

The explanation is that there is no executable python3.11.7 but only python3 and python3.11.

I had proposed this change to get only major and minor Python version:

am_cv_python_version=`$PYTHON -c "import sys,re; sys.stdout.write(re.findall(r'(\d+\.\d+)\.', sys.version)[0])"`

Then all is correct:
checking for python3.11... /Users/me/xnadalib-2024/bin/python3.11

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