这里写自定义目录标题
- 问题一:0%[working]
- 问题二:“The following packages were automatically installed and are no longer required.“
- 问题1:You are using pip version 8.1.1, however version 22.1.1 is available.You should consider upgrading via the 'pip install --upgrade pip' command.
- 问题2:curl: (23) Failed writing body (0 != 1371)
- 问题3:ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.
- 问题1:error: [Errno 1] Operation not permitted
- 问题2:WARNING: Mac address to reach destination not found. Using broadcast.
这个是在安装pip时,遇到的
问题一:0%[working]
去修改镜像,
请参考该链接:https://blog.csdn.net/u013431916/article/details/83413102
链接: link.
问题二:“The following packages were automatically installed and are no longer required.“
//问题情况如下
ch@chpc:/etc/apt$ sudo apt-get update && sudo apt-get install python3-pip
0% [Connecting to archive.ubuntu.com (185.125.190.39)] [Connecting to mirrors.^C
请看该链接:https://blog.csdn.net/LYiiiiiii/article/details/119100786
链接: link.
================================================================================================
这是在安装scapy时遇到的
问题1:You are using pip version 8.1.1, however version 22.1.1 is available.You should consider upgrading via the ‘pip install --upgrade pip’ command.
请看该链接:https://blog.csdn.net/JIEJINQUANIL/article/details/102816801
链接: link.
请看该链接:
https://blog.csdn.net/qq_29935433/article/details/104982952
链接: link.
这两篇文章可以联合查看
问题2:curl: (23) Failed writing body (0 != 1371)
//解决方法如下
sudo curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
重点是这个sudo,不要掉了
问题3:ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.
sudo curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
https://blog.csdn.net/ic_xcc/article/details/123731602
请看该链接:
https://blog.csdn.net/ic_xcc/article/details/123731602
链接: link.
这是在运行scapy时遇到的
问题1:error: [Errno 1] Operation not permitted
是因为权限不够
sudo su
问题2:WARNING: Mac address to reach destination not found. Using broadcast.
这里是网络的原因,可以重点解决ping不ping通的事。宿主机和虚拟机互相之间ping不ping通,两者ping不ping通网络。
tips:宿主机与虚拟机的子网掩码,默认网关一致
例:
arp -a//查看
ifconfig//查看
ifconfig enp0s3 IP地址 子网掩码
ifconfig enp0s3 broadcast 默认网关
//注意enp0s3是网卡,你和我的网卡不一定一样,用ifconfig 查看最左边的就显示的是网卡