Installation Python 3.6 Debian 8
Téléchargement et installation :
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
tar xvf Python-3.6.0.tgz
cd Python-3.6.0
./configure --enable-optimizations
make -j8
sudo make altinstall
Création environnement virtuel :
python3.6 -m venv my_env
source my_env/bin/activate
python --version # 3.6.0!
Installation pip
sudo apt-get install python3-pip
sudo pip3 install --upgrade pip
Installation module
sudo python3.6 -m pip install "module_name"
Installation Python 2.7 Debian 8
Téléchargement et installation :
sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev