赞
踩
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
#安装python3.6 来自第三方
RUN apt-get update
RUN apt-get install -y python-software-properties
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN apt-get install -y python3.6
RUN apt install -y python3.6-dev
RUN apt install -y python3.6-venv curl
这个源,实测也可以:add-apt-repository ppa:fkrull/deadsnakes
curl https://bootstrap.pypa.io/get-pip.py | python3.6
或者可以通过apt以以下步骤安装:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。