LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-01-2016, 09:53 PM   #1
YOGESHAS87
LQ Newbie
 
Registered: Nov 2010
Location: bangalore
Posts: 4

Rep: Reputation: 0
After upgrade python3.4 to python3.5.1 , not able to install packages "request" though pip3


After upgrade python3.4 to python3.5.1 , not able to install packages "request" though pip3

Summary :After upgrade python3.4 to python3.5.1 , not able to install packages "request" though pip

steps followed :
1. python3 --> shows 3.4
2. downloded 3.5 --> wget https://www.python.org/ftp/python/3....n-3.5.1.tar.xz
3. tar xJf ./Python-3.5.1.tar.xz
4. cd /opt/Python-3.5.1
5. ./configure --prefix=/opt/python3.5
6. make && make install
7. rm -rf /usr/bin/python3
8. ln -s /opt/python3.5/bin/python3 /usr/bin/python3
9. python3 ---> now shows 3.5
10. sudo apt-get install python3-pip
11. root@selenium-server:/usr/bin# pip3 install requests
Traceback (most recent call last):
File "/usr/bin/pip3", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'
root@selenium-server:/usr/bin#
root@selenium-server:/usr/bin#
root@selenium-server:/usr/bin#
root@selenium-server:/usr/bin#
12 . root@selenium-server:/usr/bin# python3 -m pip install requests
/usr/bin/python3: No module named pip
root@selenium-server:/usr/bin#
 
Old 08-03-2016, 10:38 PM   #2
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
You'd be better off not linking things. Why don't you install python using the distro package?

If you insist on doing it this way you'll want to run /opt/python3.5/bin/pip3 install requests.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: How to install Python3 on CentOS LXer Syndicated Linux News 0 12-29-2015 09:51 PM
[SOLVED] How to: "myarray[interger]=myarray[integer]+1" in python3 Andy_Crowd Programming 8 09-25-2014 05:07 PM
[SOLVED] Python3.2 vs yum hpfeil Fedora 4 08-01-2012 10:51 AM
How to install/upgrade packages from "unstable" ? rangalo Debian 9 03-13-2007 04:00 AM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM

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

All times are GMT -5. The time now is 05:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration