невозможно установить определенные библиотеки в Python - PullRequest
0 голосов
/ 03 июля 2018

Я пытаюсь установить gevent с помощью pip, но мне не удалось его установить.

Requirement already satisfied: gevent in c:\program files (x86)\python36-32\lib\site-packages (1.3.4)
Requirement already satisfied: cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython" in c:\program files (x86)\python36-32\lib\site-packages (from gevent) (1.11.5)
Requirement already satisfied: greenlet>=0.4.13; platform_python_implementation == "CPython" in c:\program files (x86)\python36-32\lib\site-packages (from gevent) (0.4.13)
Requirement already satisfied: pycparser in c:\program files (x86)\python36-32\lib\site-packages (from cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython"->gevent) (2.18)
tweepy 3.6.0 has requirement requests>=2.11.1, but you'll have requests 2.10.0 which is incompatible.

Пожалуйста, помогите мне с этой ошибкой.

Ответы [ 2 ]

0 голосов
/ 03 июля 2018

Ошибка возникает при установке tweepy. Ошибка говорит:

tweepy 3.6.0 has requirement requests>=2.11.1, but you'll have requests 2.10.0 which is incompatible.

Итак, вам нужно обновить запросы.

Для Linux, для установки:

pip install requests

Для Linux, для обновления:

pip install requests --upgrade

Надеюсь, это поможет

0 голосов
/ 03 июля 2018

Ошибка показывает, что версия пакета запросов не является несовместимой. Итак, как насчет запросов на обновление с командой:

pip install --upgrade requests

надеюсь, что поможет

...