Mutt: Установка Goobook в порядке, но тогда он не работает - PullRequest
0 голосов
/ 31 октября 2018

Я запускаю debian stretch на своей коробке. Еще несколько дней назад все было нормально с моим Mutt + Goobook + Gmail, но недавно у меня возникли некоторые проблемы. Я попытался переустановить goobook и, видимо, работает нормально

$ sudo pip install goobook
Collecting goobook
Requirement already satisfied: simplejson>=2.1.0 in /usr/local/lib/python2.7/dist-packages    /simplejson-3.16.0-py2.7.egg (from goobook)
Requirement already satisfied: google-api-python-client>=1.6.4 in /usr/local/lib/python2.7/dist-   packages/google_api_python_client-1.7.4-py2.7.egg (from goobook)
Requirement already satisfied: oauth2client<5.0.0dev,>=1.5.0 in /usr/local/lib/python2.7/dist-packages/oauth2client-4.1.3-py2.7.egg (from goobook)
Requirement already satisfied: google-auth-httplib2>=0.0.3 in /usr/local/lib/python2.7/dist-packages/google_auth_httplib2-0.0.3-py2.7.egg (from google-api-python-client>=1.6.4->goobook)
Requirement already satisfied: google-auth>=1.4.1 in /usr/local/lib/python2.7/dist-packages/google_auth-1.5.1-py2.7.egg (from google-api-python-client>=1.6.4->goobook)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in /usr/lib/python2.7/dist-packages (from google-api-python-client>=1.6.4->goobook)
Requirement already satisfied: six<2dev,>=1.6.1 in /usr/lib/python2.7/dist-packages (from google-api-python-client>=1.6.4->goobook)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in /usr/local/lib/python2.7/dist-packages/uritemplate-3.0.0-py2.7.egg (from google-api-python-client>=1.6.4->goobook)
Requirement already satisfied: pyasn1-modules>=0.0.5 in /usr/lib/python2.7/dist-packages (from oauth2client<5.0.0dev,>=1.5.0->goobook)
Requirement already satisfied: pyasn1>=0.1.7 in /usr/lib/python2.7/dist-packages (from oauth2client<5.0.0dev,>=1.5.0->goobook)
Requirement already satisfied: rsa>=3.1.4 in /usr/local/lib/python2.7/dist-packages/rsa-4.0-py2.7.egg (from oauth2client<5.0.0dev,>=1.5.0->goobook)
Requirement already satisfied: cachetools>=2.0.0 in /usr/local/lib/python2.7/dist-packages/cachetools-2.1.0-py2.7.egg (from google-auth>=1.4.1->google-api-python-client>=1.6.4->goobook)
Installing collected packages: goobook
Successfully installed goobook-3.1

но затем, например,

$ goobook reload
Traceback (most recent call last):
 File "/usr/local/bin/goobook", line 7, in <module>
 from goobook.application import main
  File "/usr/local/lib/python2.7/dist-packages/goobook/application.py", line 21, in <module>
 import goobook.config
 File "/usr/local/lib/python2.7/dist-packages/goobook/goobook.py", line 99
  print("-------------------------", file=out)
                                   ^
  SyntaxError: invalid syntax

Кто-нибудь еще испытывает это? Есть идеи о том, как это исправить? Спасибо!

1 Ответ

0 голосов
/ 19 апреля 2019

У меня была такая же проблема. Установил его с помощью python3 и все заработало.

python3 -m pip install goobook
...