You are not logged in.

#1 2025-01-09 09:46:19

asafgre
Member
Registered: 2024-10-07
Posts: 2

SOLVED -- python modules installed in the wrong version

---- SOVLED ----
i reinstalled python (pacman -S python)
and i have now python 3.13,
and the modules are being installed correctly (to 3.13)

(i also had to reinstall the existing modules)

----


My system python is 3.12.7-1   (according to pacman -Q)
When running 'python' from the command line, i get the correct version (3.12)

The problem:
When installing python packages via pacman, it is being installed to  /usr/lib/python3.13/ ...  and not to /usr/lib/python3.12/   

A month ago, and I vaguely remember installed python3.13 (unintentionally),  but it's not on the installed package list.
Or maybe the problem started since last system upgrade, ca. the same time.
In any case, the problem started probably around that time.

I can't figure out where's the pacman settings telling it to use v3.12 / v3.13

i  removed (manually) its files and directories (specifically /usr/lib/python3.13)  but it was recreated once i install a python-xxxx package via pacman.
i tried grep -r 3.13 /etc*

ideas?

p.s.
I don't mind upgrading completely to python3.13, and ditch 3.12 completely.  But it looks quite risky, and I don't know how.
(I have python virtual environments, but I'm not afraid to recreate them if needed)

Last edited by asafgre (2025-01-09 10:10:54)

Offline

#2 2025-01-09 13:03:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,269

Re: SOLVED -- python modules installed in the wrong version

Offline

Board footer

Powered by FluxBB