简体   繁体   中英

pip3 SSL Error while installing new package

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

我得到的错误 - 图片

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM