How to install pip in Python 3 on Kali Linux (Fix ImportError No module named requests)

Avatar admin | January 31, 2021 48 Views 0 Likes 0 Ratings

48 Views 0 Ratings Rate it

This video will help you how to install and fix any problem of the pip or python 3 on Kali Linux.

First Fix:
cd /urs/lib/python2.7
python get-pip.py

Add the line:
export PATH=”/home/kali/.local/bin:$PATH”
to your bashrc file

Then you should be good to go to use:
pip install (Python 2 Module that I need)

e.g.
pip install requests

Second Fix:
sudo apt-get install python-requests
sudo pip install requests

Pip is a python package manager. Python packages and libraries can be installed in different ways to the system. We can also use the distribution provided package manager to install Python libraries. Python packages can get from python.org . How can we install pip in Debian, Ubuntu, Kali or similar dpkg, apt-based distributions.

#ImportError #pip #python #kalilinux


48 Views 0 Ratings Rate it

Written by admin