大家好,欢迎来到IT知识分享网。
今天做实验想安装一下shodan的,用pips install shodan的时候报错,说是没有pip3这个命令,所以要安装一下pip3。
首先下载get-pip.py文件
wget https://bootstrap.pypa.io/pip/get-pip.py
然后执行下面命令安装pip3
python3 get-pip.py
kali@kali:~$ pip -V #查看pip版本信息
pip 21.1.2 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)
备注:
本来想用sudo apt-get install pip3来安装的,但是安装不上。
kali@kali:~$ sudo apt-get install pip3
[sudo] password for kali:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package pip3
kali@kali:~$
软件源如下,不知道是不是软件源配置错了,下次找到问题,再看。
kali@kali:~$ cat /etc/apt/sources.list
#
# deb cdrom:[Kali GNU/Linux 2020.2rc1 _Kali-last-snapshot_ – Official amd64 DVD Binary-1 with firmware -14:58]/ kali-rolling contrib main non-free
#deb cdrom:[Kali GNU/Linux 2020.2rc1 _Kali-last-snapshot_ – Official amd64 DVD Binary-1 with firmware -14:58]/ kali-rolling contrib main non-free
# deb http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching “deb cdrom”
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
# deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
# deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main non-free contrib
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main non-free contrib
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/70452.html