Git Product home page Git Product logo

Comments (7)

eli-schwartz avatar eli-schwartz commented on August 26, 2024 1

@amitdo,

Actually Ubuntu bionic provides backports of 3.7 and 3.8

@amad-haseeb,

Ubuntu mutilates their python package and only half of it is installed by default. You need to get the other half with apt install python3-distutils IIRC (plus another couple of packages for the other missing bits).

from meson.

amitdo avatar amitdo commented on August 26, 2024

Main binary: /usr/bin/python3

In Ubuntu 18.04, python3 points to python 3.6 which is not supported in meson 1.3.

Also, the cmake version in the Ubuntu 18.04 repo is too old and is not supported by meson 1.3.

from meson.

amad-haseeb avatar amad-haseeb commented on August 26, 2024

@amitdo,
The system alternative were updated to point to python 3.7 instead of 3.6, so python3 was pointing to 3.7.5.

:

@eli-schwartz: Thanks mate, I was missing the one you mentioned, rest were installed,
those other packages are python3.x-dev and python3.x itself.

PS: It compiled successfully after installing python3-distutils

from meson.

eli-schwartz avatar eli-schwartz commented on August 26, 2024

The other packages I'm referring to are things like "venv" (important but not specifically for meson). There's also tkinter but to be fair lots of distros make that optional.

from meson.

amad-haseeb avatar amad-haseeb commented on August 26, 2024

Okay, But I was building these packages inside a container so it was already a contained environment.

from meson.

amitdo avatar amitdo commented on August 26, 2024

Me:

In Ubuntu 18.04, python3 points to python 3.6 which is not supported in meson 1.3.

@eli-schwartz

@amitdo,

Actually Ubuntu bionic provides backports of 3.7 and 3.8

Yes, I know, but this does not invalidate what I said. python3 will still point to the default python version in the distro, which is python 3.6, after installing python 3.7/3.8.

from meson.

eli-schwartz avatar eli-schwartz commented on August 26, 2024

As the OP noted, Ubuntu itself was configured to select the backported 3.7 as /usr/bin/python3 using standard dpkg technologies.

Meson CI does the same thing, as it happens, on our single runner for Ubuntu Bionic.

from meson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.