Skip to content

configure detects wrong python version #78

Description

@Valentin-D-Richard

System information

Type Version/Name
Distribution Name Ubuntu
Version 22.04.1 LTS

Describe the problem you're observing

I have python version 3.10.6 and binaries /usr/bin/python3 and usr/bin/python3.10 exist, but not /usr/bin/python3.1.

./configure detects python version 3.1 and stops because it cannot find python3.1 in the system path.

I followed the README tutorial and chose to compile with python3 binding. Here's the last lines of the output of command PYTHON=python3 ./configure --enable-python

checking for python3 version... 3.1
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/local/lib/python3.10/dist-packages
checking for python3 extension module directory... ${exec_prefix}/local/lib/python3.10/dist-packages
checking for python3.1... no
configure: error: Cannot find python3.1 in your system path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions