
Dropboxを起動しようとすると、
$ dropbox start
Starting Dropbox...
The Dropbox daemon is not installed!
Run "dropbox start -i" to install the daemon
指示に従って、
$ 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'
その後、giをインストールしようとしました
$ pip install gi
Collecting gi
Could not find a version that satisfies the requirement gi (from versions: )
No matching distribution found for gi
バージョン:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
答え1
ルート環境を含むconda環境が有効になっていないことを確認し、「sudo dropbox start -i」として実行します。
答え2
GTK インターフェースをスキップして、このgi
モジュールのロードを回避することができます。 Dropbox スクリプトを実行します。
$ DISPLAY='' dropbox start -i
そして、GTK ウィンドウではなくコンソールにメッセージが表示されます。