When you’re getting Unable to locate package python-pip, you can follow the below solution. It has worked for me. Error:- [email protected]:~# sudo apt install python-pip Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package python-pip Solution:- [email protected]:~# sudo apt-get update && sudo apt-get install python-pip Get:1 http://ftp.harukasan.org/kali kali-rolling InRelease [30.5 kB] Get:2 http://ftp.harukasan.org/kali kali-rolling/main amd64 Packages [16.5 MB] Get:3 http://ftp.harukasan.org/kali kali-rolling/non-free amd64 Packages…
Hi i have faced the same error while running some python script but was able to resolve it with below-given command, I hope it works for you too. Error:- /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.3) or chardet (2.2.1) doesn’t match a supported version! RequestsDependencyWarning) Traceback (most recent call last): File “/usr/bin/instapy”, line 6, in <module> from instapy_cli.__main__ import main File “/usr/lib/python2.7/site-packages/instapy_cli/__main__.py”, line 6, in <module> version = pkg_resources.require(‘instapy_cli’)[0].version File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 728,…