pip3安装及dockerscan安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pip3安装及dockerscan安装相关的知识,希望对你有一定的参考价值。
cd /usr/local/src/
wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz
wget https://files.pythonhosted.org/packages/01/5f/955ed76d1b3f2cbcbd891e0fa1887c01f7f2116d5c014dd5c82f7ab7985c/dockerscan-1.0.0a3.tar.gz
tar xf Python-3.6.7.tgz
yum install openssl-devel zlib-devel -y
cd Python-3.6.7/
./configure --prefix=/opt/Python
make &&make install
ln -s /opt/Python/bin/python3 /usr/bin/python3
cd /usr/local/src/
wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26
tar xf setuptools-19.6.tar.gz
cd setuptools-19.6/
python3 setup.py build
python3 setup.py install
cd ..
wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb
tar -zxvf pip-8.0.2.tar.gz
cd pip-8.0.2
python3 setup.py build
python3 setup.py install
cd /opt/Python/ bin/
./pip3 install dockerscan
ln -s /opt/Python/bin/dockerscan /usr/bin/dockerscan
以上是关于pip3安装及dockerscan安装的主要内容,如果未能解决你的问题,请参考以下文章
如何升级到python3版本并且安装pip3及ipython3