Installez Python 3.6 dans le conteneur Ubuntu (20.04).
apt-get update
apt-get install wget gcc make zlib1g-dev libssl-dev
wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz
tar zxvf Python-3.6.1.tgz
cd Python-3.6.1
./configure --prefix=/usr/local/python
make && make install
ln -s /usr/local/python/bin/python3.6 /usr/local/bin/python
ln -s /usr/local/python/bin/pip3.6 /usr/local/bin/pip
pip install --upgrade pip
pip install setuptools==40.3.0
pip install requests fake_useragent lxml python-amazon-simple-product-api google-compute-engine boto-mws google-api-python-client python-amazon-simple-product-api cssselect pymysql
L'introduction du package est un mémo personnel
Recommended Posts