问题描述
Dropbox 无法以“VerificationError: importing pylinux...
”开始。似乎最近的一些 Python 更新破坏了 Dropbox,导致以下错误:
Starting Dropbox...Traceback (most recent call last):
File "dropbox/client/main.py", line 13, in
File "autogen_explicit_imports.py", line 13, in
File "ui/common/selective_sync.py", line 6, in
File "arch/__init__.py", line 28, in
File "arch/linux/tracing.py", line 8, in
File "hard_trace.py", line 6, in
File "client_api/connection_hub.py", line 21, in
File "client_api/kv_connection.py", line 23, in
File "pylinux/__init__.py", line 71, in
File "cffi/api.py", line 311, in verify
File "dropbox/overrides.py", line 398, in load_library
File "cffi/verifier.py", line 69, in load_library
File "cffi/verifier.py", line 154, in _load_library
File "cffi/vengine_cpy.py", line 124, in load_library
VerificationError: importing '/home/maythux/pylinux/__pycache__/_cffi__xa0c4f46bx1d95b4de.so': No module named _cffi__xa0c4f46bx1d95b4de
重新安装 Dropbox 并没有解决这个问题。
任何想法?!
最佳方案
使用 Ctrl
+ Alt
+ T
键盘快捷键打开终端并运行以下命令:
sudo rm -rf /var/lib/dropbox/.dropbox-dist
rm -rf ~/.dropbox-dist
dropbox start -i
这将删除下载的 Dropbox 二进制文件和 re-download 它们。下载完成后,Dropbox 应该会再次正常启动。
处理 rm -rf
时要小心。