You are not logged in.

#1 2024-04-25 00:30:37

juga
Member
Registered: 2023-03-27
Posts: 4

Don't working python applications after system update

After a fresh update (April 22, 2024), applications written in Python stopped working. The system version of python is 3.11.8. The /usr/lib/ directory contains the version directories:

python 2.7
python 3.11
python 3.12

Many applications were placed in the directory:

/usr/lib/python3.12/site-packages/
in this directory is only site-packages directory.

My system python version probably only uses the directory:
/usr/lib/python3.11/site-packages/.

The official repositories don't contain python 3.12 yet, so I can't update to that version of python. I just don't understand why after the update everything was placed in the 3.12 directory, if my system does not have this version of python and it is not available yet. I tried to copy the site-packages directory from python 3.12 to 3.11. Python console applications started working, but graphical applications did not start, returning various errors.

freecad
freecad: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory

meld
Traceback (most recent call last):
  File "/usr/bin/meld", line 96, in <module>
    import meld.conf  # noqa: E402
    ^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'meld'

tlpui
Traceback (most recent call last):
  File "/usr/bin/tlpui", line 5, in <module>
    from tlpui.__main__ import main
  File "/usr/lib/python3.11/site-packages/tlpui/__main__.py", line 4, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

How to fix this mess so that everything works properly?

Offline

#2 2024-04-25 00:35:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,789

Re: Don't working python applications after system update

Do you have any of the testing repos enabled but not all of them? That would be a partial update and get you this situation.

Offline

#3 2024-04-25 00:42:14

juga
Member
Registered: 2023-03-27
Posts: 4

Re: Don't working python applications after system update

my pacman.conf:

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra-testing]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

Offline

#4 2024-04-25 00:58:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,789

Re: Don't working python applications after system update

Comment extra-testing and do a

pacman -Syuu

or enable all other testing repos: https://wiki.archlinux.org/title/Offici … positories

Offline

#5 2024-04-25 11:55:32

juga
Member
Registered: 2023-03-27
Posts: 4

Re: Don't working python applications after system update

It helped. I have problems width files conflict, but deleting them manually and downgrade process was completed successfully. Applications that were not working now work properly. Thanks a lot for your quick reply.

Offline

Board footer

Powered by FluxBB