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#