Δημοσιεύτηκε: 21 Μαρ 2024, 10:35
από Th P
Καλημέρα δες και εδώ: https://askubuntu.com/questions/801195/importerror-no-module-named-dbus

έγραψε:The solution is rather easy:


Κώδικας: Επιλογή όλων
sudo apt-get install python3.7-dev

Κώδικας: Επιλογή όλων
pip3 install dbus-python


Δες και τις υποσημειώσεις:

έγραψε:1.Consider a python3 upgrade issue

When upgrading to python3, the modules sometimes change names / the import procedure changes; did you remove your old python environment manually or installed something from git?

2.Try aptitude

Install aptitude, it recommends ways to solve dependencies. Be careful, however, always check what it wants to do, which other stuff may be affected by this change, and write down what you do, and what aptitude does so you always can undo possible missteps.

3.Reinstall your System

Sometimes it's just best to nuke everything (in a convoluted OS error issue, after backing up everything, using the export function of the apps apps you want to backup, preferrably. That makes things way easier).