I am following an old guide (which is the most up-to-date that I could locate) for setting up Dropbox on an Ubuntu droplet (https://www.digitalocean.com/community/tutorials/how-to-install-dropbox-client-as-a-service-on-ubuntu-14-04), and am running into errors.
I can download and extract everything just fine, but when I run /opt/dropbox/dropboxd
it fails and aborts. Apparently it cannot run python??
$> /opt/dropbox/dropboxd
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/cryptography.hazmat.bindings._openssl.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/cryptography.hazmat.bindings._padding.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/apex._apex.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/tornado.speedups.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/opt/dropbox/dropbox-lnx.x86_64-126.4.4618/PyQt5.QtWidgets.cpython-38-x86_64-linux-gnu.so'
RUST PANICKING -- "Failed to run Python command!" at "app/lib/core/bootstrap/src/python.rs":127
Aborted
$> which python
$> which python3
/usr/bin/python3
I am using a freshly generated droplet with Ubuntu 20.04. Has anyone experienced this before?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Update: SOLVED!
It turns out that not all dependencies needed are installed by default, which the article from Ubuntu 14.04 failed to mention. Here is what I needed to do first:
After installing these packages, I continued the guide and was able to get Dropbox installed.