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

install LAT error #176

Open
biology-han opened this issue Jun 19, 2023 · 5 comments
Open

install LAT error #176

biology-han opened this issue Jun 19, 2023 · 5 comments

Comments

@biology-han
Copy link

The version of Python installed on the system is 3.10.12

Error:
checking for python3... /usr/local/bin/python3
configure: Found python version: 3.10.12
checking for a version of Python >= '3.1.0'... yes
checking for a version of Python >= '3.5'... no
configure: WARNING: this package requires Python >= '3.5'.
If you have it installed, but it isn't the default Python
interpreter in your system path, please pass the PYTHON_VERSION
variable to configure. See ``configure --help'' for reference.

configure: Environment variable 'PYTHON_VERSION' set to:
checking for the distutils Python package... yes
checking for Python include path... -I/usr/local/include/python3.10
checking for Python library path... -L/usr/local/lib -lpython3.10
checking for Python site-packages path... /usr/local/lib/python3.10/site-packages
checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
configure: error:
Python3 not detected.
We suggest installing python3 via conda with the required packages (numpy, scipy, matplotlib, sphinx).
Please see .travis/install.sh for details of how we do this.
Alternatively, try installing python anaconda.

@DeadlineWasYesterday
Copy link

I was able to solve this by using python 3.6. Just copy the last bit of code from .travis/install.sh

conda create -q -n test-environment python=3.6 numpy scipy matplotlib sphinx tabulate

@pavelToman
Copy link

Hello!
I am trying to install KAT on HPC cluster in UGent, we have EasyBuild for building/installing software.
I have Python 3.11.3, but the installation crash on configure step with:

checking for python3... /apps/gent/RHEL8/cascadelake-ib/software/Python/3.11.3-GCCcore-12.3.0/bin/python3
configure: Found python version: 3.11.3
checking for a version of Python >= '3.1.0'... yes
checking for a version of Python >= '3.5'... no
configure: WARNING: this package requires Python >= '3.5'.
If you have it installed, but it isn't the default Python
interpreter in your system path, please pass the PYTHON_VERSION
variable to configure. See ``configure --help'' for reference.

configure: Environment variable 'PYTHON_VERSION' set to: 
checking for the distutils Python package... yes
checking for Python include path... -I/apps/gent/RHEL8/cascadelake-ib/software/Python/3.11.3-GCCcore-12.3.0/include/python3.11
checking for Python library path... -L/apps/gent/RHEL8/cascadelake-ib/software/Python/3.11.3-GCCcore-12.3.0/lib -lpython3.11
checking for Python site-packages path... /apps/gent/RHEL8/cascadelake-ib/software/Python/3.11.3-GCCcore-12.3.0/lib/python3.11/site-packages
checking python extra libraries... -ldl -lm -lpthread -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
configure: error: 
                Python3 not detected.
                We suggest installing python3 via conda with the required packages (numpy, scipy, matplotlib, sphinx).
                Please see .travis/install.sh for details of how we do this.
                Alternatively, try installing python anaconda.

I either export PYTHON_VERSION=3.11 but the error is still the same.
I can not use conda/anaconda, just pip.
Could you help me with this, please?

@DeadlineWasYesterday
Copy link

DeadlineWasYesterday commented Dec 5, 2024 via email

@pavelToman
Copy link

pavelToman commented Dec 5, 2024

Hello @DeadlineWasYesterday!
Our clusters have RHEL 8 or 9. The python version is linked to toolchain version and for now I can use Python 3.11.3 and later (3.11.5, 3.12.3) not older .

EDIT:
I can see my colleague probably fix this issue by replace the m4/ax_python_devel.m4 with a new one from Autoconf-archive

@DeadlineWasYesterday
Copy link

DeadlineWasYesterday commented Dec 5, 2024 via email

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

3 participants