安装完后应该是打不开坚果云界面

安装完后应该是打不开坚果云界面

(1)进入~/.nutstore/dist/bin,编辑nutstore-pydaemon.py,把

#!/usr/bin/python

改为

#!/usr/bin/python2

(2)运行nutstore-pydaemon.py,看出现的错误,我出现了

    (a)Traceback (most recent call last):
File “./nutstore-pydaemon.py”, line 27, in <module>
gi.require_version(‘AppIndicator3’, ‘0.1’)
File “/usr/lib64/python2.7/site-packages/gi/init.py”, line 130, in require_version
raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace AppIndicator3 not available

解决方法:安装AppIndicator3

sudo apt install gir1.2-appindicator3-0.1

    (b)Traceback (most recent call last):
  File “./nutstore-pydaemon.py”, line 50, in <module>
    gi.require_version(‘Notify’, ‘0.7’)
  File “/usr/lib/python2.7/dist-packages/gi/__init__.py”, line 129, in require_version
    raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace Notify not available

解决方法:安装Notify

sudo apt install gir1.2-notify-0.7

至此,通过运行nutstore-pydaemon.py或通过图标都可以打开坚果云了

Leave a Reply