pip is not installed, cannot find the command
python library module is not installed
ImportError: No module named setuptools
- Check the version to confirm whether python is installed
python -v
- Install PYTHON's PIP management tool
关键的一步
sudo apt-get install python-setuptools
sudo apt-get install python-pip
sudo apt-get install python3-setuptools
sudo apt-get install python3-pip
//找不到合适版本安装,升级pip,--upgrade 后面跟的是需要升级的库名
python -m pip install --upgrade pip
//网络问题
pip install 包名-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
--trusted-host pypi.douban.com 这是为了获得ssl证书的认证
https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers
- Install xxx module
pip install xxx
pip install xxx.py
Or troublesome, download and install manually
https://pypi.python.org/pypi/pip
wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9
tar -zxvf pip-9.0.1.tar.gz
cd pip-9.0.1
python setup.py install
When using the latest Kali Linux 2020.3 to install the docker shooting range:
first install pip, pip3, and then sudo pip install dokcer-compose
always report an error (kali 2020.2 will not, directly succeed),
so first install only pip3, and then sudo pip3 install dokcer-compose
succeed
Please refer to
https://vulhub.org/
https://vulhub.org/#/docs/install-docker/ for other issues regarding docker shooting range installation