TGAC / KAT

The K-mer Analysis Toolkit (KAT) contains a number of tools that analyse and compare K-mer spectra.
http://www.earlham.ac.uk/kat-tools
GNU General Public License v3.0
206 stars 52 forks source link

install LAT error #176

Open biology-han opened 1 year ago

biology-han commented 1 year ago

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 commented 1 year ago

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