Comments (7)
Actually Ubuntu bionic provides backports of 3.7 and 3.8
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.
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.
@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.
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.
Okay, But I was building these packages inside a container so it was already a contained environment.
from meson.
Me:
In Ubuntu 18.04, python3 points to python 3.6 which is not supported in meson 1.3.
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.
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)
- can't set the c++ standard correctly with newer versions of nvc++
- [Feature] Default options for cmake wraps HOT 1
- meson strips --config from LDFLAGS when it shouldn't HOT 2
- meson setup should always read from environment variables HOT 2
- inconsistent `has_header` check for c-like compilers HOT 1
- MSVC + Rust + C++ + GLM/GLFW3 don't work HOT 1
- Support export_dynamic on macOS
- `threads` dependency should not be "-lpthread" when using MinGW if using mcfgthread HOT 6
- Documentation: dep.as_system() does not default to 'preserve' but to 'system'
- Allow to summarize test results with respect to test priority
- Swift Linker Check Error
- Meson not generating correct configuration for ninja HOT 6
- [Feature Request]: 'program-transform-name' equivalent
- meson fmt does not handle `else` in nested `if correctly
- BUG: Fixed form flags for Fortran compilers break sanity checks
- BUG: Building a Rust crate from crates.io may fail HOT 1
- Feature/question: Only show the verbose output of failed tests HOT 4
- Prefer $GCC_AR over $AR with gcc? HOT 4
- Unclear default value for unity-size and python.bytecompile in "meson setup --help" output HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meson.