
Beim Versuch, Dropbox zu starten, erscheint die Meldung
$ dropbox start
Starting Dropbox...
The Dropbox daemon is not installed!
Run "dropbox start -i" to install the daemon
Befolgen Sie die Anweisungen.
$ dropbox start -i
Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox", line 1443, in start
download()
File "/usr/bin/dropbox", line 294, in download
import gi
ModuleNotFoundError: No module named 'gi'
Dann habe ich versucht, gi zu installieren
$ pip install gi
Collecting gi
Could not find a version that satisfies the requirement gi (from versions: )
No matching distribution found for gi
Die Version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
Antwort1
Stellen Sie sicher, dass Sie keine Conda-Umgebung aktiviert haben, auch nicht die Root-Umgebung, und führen Sie sie als „sudo dropbox start -i“ aus.
Antwort2
Sie können die GTK-Schnittstelle überspringen, wodurch das Laden dieses gi
Moduls vermieden wird. Führen Sie das Dropbox-Skript aus:
$ DISPLAY='' dropbox start -i
Und Sie erhalten die Nachrichten in Ihrer Konsole statt in GTK-Fenstern.