Issue
I am using Kali Linux, and I am trying to install some requirements of one packet for test purposes, but I keep getting the below error. I have tried many solutions but they are all not working and the error still persists
# pip3 install -r requirements.txt
or
pip3 install name_of_package-py
Solution
Generally, the only command you would need is:
pip install name_of_package
if it doesn't work you could try:
sudo pip install name_of_package
sudo should work, but you have to be careful regarding the package because with sudo you could end up installing a package with some malware in it. Therefore be certain of the reliability of the package.
also depending on the version you are using could be pip or pip3
Answered By - mike_thecode