1.根据https://help.aliyun.com/document_detail/32190.html所提示的,在linux下安装oss ftp,执行bash start.sh
后出现:
Traceback (most recent call last): File "launcher/start.py", line 31, in <module> from gtk_tray import sys_tray File "/home/gtsh/Documents/work/aliyun_oss/ossftp-1.0.3-linux-mac/launcher/gtk_tray.py", line 12, in <module> import pygtk ImportError: No module named pygtk
2.处理No module named pygtk
执行命令行:
apt-get install python-gtk2 python-gtk2-dbg python-gtk2-dev python-gtk2-doc
在安装成功后,再执行bash start.sh
,成功了。
原文地址:https://www.cnblogs.com/johnnyzhao/p/10679298.html
时间: 2024-10-13 01:14:48