Meson install error: Can't get attribute 'OctalInt'
See original GitHub issueObserved the following error on meson install of gstreamer :
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 330, in do_install
d = pickle.load(ifile)
AttributeError: Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' from '/usr/lib/python3/dist-packages/mesonbuild/coredata.py'>
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (14 by maintainers)
Top Results From Across the Web
Meson Install failed for Libcamera build - linux
load(ifile) AttributeError: Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' from '/usr/lib/python3/dist-packages/mesonbuild/ ...
Read more >Failed to compile with ninja/meson (novice) (#2528) · Issues
... Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' from '/usr/lib/python3/dist-packages/mesonbuild/coredata.py'> FAILED: ...
Read more >1689191 – meson fails with "AttributeError: Can't get ...
Description of problem: $ ninja -C build-rawhide-32 test ninja: Entering directory `build-rawhide-32' [1/2] Running all tests. Traceback (most recent call ...
Read more >Help installing Sway on Ubuntu : r/linuxquestions
But I get an error when trying to install wlroots sudo ninja -C build ... Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' ...
Read more >21.04 - Error installing libcamera
load(ifile)) AttributeError: Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' from '/usr/lib/python3/dist-packages/mesonbuild/ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you got it from pip, why is it using /usr/lib/python3/dist-packages/mesonbuild/minstall.py
In order to use sudo ninja install, meson must be installed as root. Your installation attempt is incorrectly picking up the wrong (outdated!) version of meson.
People can just run from a git checkout or use a zipapp.