googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 276 forks source link

Installing TWEEPY through ssh #111

Open Luuii opened 7 years ago

Luuii commented 7 years ago

Hi, I want to install tweepy but in the CODER distribution it happens something wrong and it doesn't install the package. I have already tried in raspbian without CODER and works fine.

CODER pi@coder ~ $ sudo 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 "", line 14, in File "/home/pi/build/tweepy/setup.py", line 17, in 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 "", line 14, in

File "/home/pi/build/tweepy/setup.py", line 17, in

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

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


Command python setup.py egg_info failed with error code 1 in /home/pi/build/tweepy Storing complete log in /root/.pip/pip.log

WITHOUT CODER

pi@raspberrypi:~ $ sudo pip install tweepy Downloading/unpacking tweepy Downloading tweepy-3.5.0-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): requests>=2.4.3 in /usr/lib/python2.7/dist-packages (from tweepy) Requirement already satisfied (use --upgrade to upgrade): six>=1.7.3 in /usr/lib/python2.7/dist-packages (from tweepy) Downloading/unpacking requests-oauthlib>=0.4.1 (from tweepy) Downloading requests_oauthlib-0.6.2-py2.py3-none-any.whl Downloading/unpacking oauthlib>=0.6.2 (from requests-oauthlib>=0.4.1->tweepy) Downloading oauthlib-1.1.2.tar.gz (111kB): 111kB downloaded Running setup.py (path:/tmp/pip-build-bECDIe/oauthlib/setup.py) egg_info for package oauthlib

Installing collected packages: tweepy, requests-oauthlib, oauthlib Running setup.py install for oauthlib

Successfully installed tweepy requests-oauthlib oauthlib Cleaning up...

Someone knows how to fix it in Raspbian with CODER ?