LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-07-2015, 01:44 PM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Rep: Reputation: Disabled
problems installing tweepy


Hi guys,
I wonder if you can help me with this please.
I'm trying to install tweepy but I run into some problems. First of all I installed python-pip which went through OK it looks like, then when I tried tweepy I got the following error:
Code:
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$ pip install tweepy
Downloading/unpacking tweepy
  Downloading tweepy-3.3.0.tar.gz
  Running setup.py egg_info for package tweepy
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/antobbo/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/antobbo/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'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/antobbo/.pip/pip.log
I then tried from github but got the same error:
Code:
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$ git clone https://github.com/tweepy/tweepy.git
Cloning into 'tweepy'...
remote: Counting objects: 4026, done.
remote: Total 4026 (delta 0), reused 0 (delta 0), pack-reused 4026
Receiving objects: 100% (4026/4026), 1.93 MiB | 1.22 MiB/s, done.
Resolving deltas: 100% (2323/2323), done.
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$ cd tweepy
antobbo@antobbo-linux-Dell-System-XPS-L702X:~/tweepy$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
TypeError: parse_requirements() got an unexpected keyword argument 'session'
Do you guys have any idea what to do pls?
thanks
 
Old 08-08-2015, 07:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? Which "Linux OS" ?
a) The reply from the command $ uname -m
b) OS name, version : Must be specified by every question
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html

? Which python version : $ python

* No tweepy issues with my test : Python 2.7.9 .


-
 
Old 08-09-2015, 04:40 AM   #3
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
Apologies, I forgot.
Linux version is 12.04.
Code:
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$  uname -m
x86_64
Code:
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$ python --version
Python 2.7.3
Should I upgrade do you think?
 
Old 08-09-2015, 08:19 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No luck with Ubuntu 12.04 (i686 or x86_64) / python 2.7.3 . EDIT ...
EDIT : See #5.

OK is Ubuntu 14.04 (i686 or x86_64) / python 2.7.6 :
$ sudo apt-get install git python-setuptools python-pip python-all-dev
$ git clone https://github.com/tweepy/tweepy.git
$ cd tweepy/
$ python setup.py build


-

Last edited by knudfl; 08-09-2015 at 03:06 PM.
 
Old 08-09-2015, 03:06 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu 12.04 : $ sudo apt-get install python-tweepy

....Which will provide version 1.7.1
http://packages.ubuntu.com/precise/python-tweepy
.. http://packages.ubuntu.com/search?ke...searchon=names



-

Last edited by knudfl; 08-09-2015 at 03:08 PM.
 
Old 08-10-2015, 03:12 PM   #6
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
OK, looks like I've installed it with the command you suggested knudfl, thanks, I will see how it goes now
 
  


Reply

Tags
tweepy



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing ubuntu live cd hard drive problems! icturubyz2 Linux - Newbie 2 05-26-2009 12:07 AM
problems installing custom 2.6.14 kernel (for SATA problems) Ekkume Ubuntu 0 12-29-2005 02:39 PM
Problems installing Cenotaph Mandriva 2 02-06-2005 02:44 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration