在Ubuntu Shared Server上安装Tweepy

时间:2016-03-17 15:33:06

标签: python-2.7 ubuntu-12.04 tweepy

关于如何成功安装tweepy的任何想法?

看起来我错过了一些依赖项,但不确定这个错误究竟意味着什么:

    $ pip install tweepy
Downloading/unpacking tweepy
  Downloading tweepy-3.5.0.tar.gz
  Running setup.py egg_info for package tweepy
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/user/build/tweepy/setup.py", line 17, in <module>
        install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
    TypeError: parse_requirements() got an unexpected keyword argument 'session'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/user/build/tweepy/setup.py", line 17, in <module>

    install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())

TypeError: parse_requirements() got an unexpected keyword argument 'session'

1 个答案:

答案 0 :(得分:1)

这是由过时的PiP版本引起的。将要求主机升级。 Tweepy error with install involving parse requirements