Replies: 1 comment
-
I can not answer the question as such; compiling new python versions will typically install https://www.linuxfromscratch.org/blfs/view/svn/general/python-modules.html#packaging
I do not know how Alien works under the hood, but I also use a versioned AppDir
(I use /home/Programs/ rather than /Programs/ - while the latter is much more After I compiled this python version and changed the symlink at /usr/bin/python,
And these work fine the moment I installed them, so whatever Alien is doing, From the error message I would assume that the python binary is confused
I think you can just temporarily rename it rather than delete it. I use that By the way, is Alien actually really needed? I understand some of the rationale, PS: I also noticed mesa is a bit outdated in GoboLinux: https://github.com/gobolinux/Recipes/tree/master/Mesa https://www.linuxfromscratch.org/blfs/view/svn/x/mesa.html Mesa kind of got more dependencies now - llvm, spirv and so https://github.com/gobolinux/Recipes/tree/master/LLVM/19.1.0 Could try 20.1.1 - from my limited testing on a non-gobolinux https://www.linuxfromscratch.org/blfs/view/svn/general/llvm.html |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the proper way to update a Python minor version, like
3.8.x
to3.9.x
?My steps are like this:
It compiles and installs fine. With this exception:
python3 --version
correctly showsPython 3.9.20
.But upon trying to install a meson recipe, eg
Mesa
, I am getting:This seems to be due to Alien (since meson is installed via PIP3/Aliens). So I am trying to reinstall meson:
This works actually:
However I still cannot compile meson recipes.
Compile would still not find meson!
Also upon re-running
Alien --install PIP3:meson
I am getting:which is referencing python 3.8 again (?).
To make it more complicated under the
/System/Aliens/PIP/3.9/lib/
subfolder (note: 3.9!!) we are gettingpython3.8/site-packages
again. Full path:It seems Aliens/PIP3(?) has to be updated to work with the new python minor?
However, if I understand the python recipe and its Alien compatibility patch correctly, Aliens should actually re-use the packages installed under Python3.8 with PIP3:
This does not seem to work though?!
(I did update
PYTHON_MINOR=7
toPYTHON_MINOR=9
in the patch btw)Further, I wanted to make meson recipes Compile again, so I did a
This did not fix the problem, still getting:
"This is a meson type recipe and you don't seem to have meson installed."
The only way to "fix' it was to
in the terminal.
I was not brave enough to do it the other way around and delete Python 3.8.1 to see if that would make it work 😅
I'd be grateful for any help or pointers!
PS: Python >= 3.9 is actually required to successfully build Mesa nowadays. So that is why I am trying to update python in the first place.
Beta Was this translation helpful? Give feedback.
All reactions