Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:python-trucs-et-machins [29/12/2015 09:54] Hypathie [Installer Eric6 python] |
utilisateurs:hypathie:tutos:python-trucs-et-machins [29/12/2015 12:01] Hypathie [Installer Eric6 python] |
||
---|---|---|---|
Ligne 45: | Ligne 45: | ||
===== Installer Eric6 python===== | ===== Installer Eric6 python===== | ||
+ | |||
+ | * On passe le système sous python3 | ||
+ | |||
+ | <code root>update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1</code> | ||
+ | |||
+ | <code root>update-alternatives --install /usr/bin/python python /usr/bin/python3.4 2</code> | ||
+ | |||
+ | <code root>update-alternatives --list python</code> | ||
+ | |||
+ | |||
+ | <code root>python --version</code> | ||
+ | |||
+ | <code root>Python 2.7.9</code> | ||
+ | |||
+ | <code root>update-alternatives --config python</code> | ||
+ | |||
+ | On choisit la version 3. | ||
+ | |||
+ | <code root>python --version</code> | ||
+ | |||
+ | |||
+ | <code root>Python 3.4.2</code> | ||
+ | |||
* On télécharge le script | * On télécharge le script | ||
Ligne 51: | Ligne 74: | ||
#!/bin/sh | #!/bin/sh | ||
- | apt-get install mercurial build-essential qt5-default qtbase5-dev qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit python3-pyqt5.qtsvg python3-pyqt5.qtsql libqt5webkit5-dev python3-pyqt5.qtwebkit | + | apt-get install mercurial build-essential qt5-default qtbase5-dev qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit python3-pyqt5.qtsvg python3-pyqt5.qtsql libqt5webkit5-dev python3-pyqt5.qtwebkit python-qscintilla2 python3-pyqt4.qsci python3-pyqt4.qtsql |
mkdir temp | mkdir temp | ||
Ligne 84: | Ligne 107: | ||
* On se place dans le dossier de réception | * On se place dans le dossier de réception | ||
- | <code user>cd Téléchargement</code> | + | <code user>mv ~/Téléchargements/script_installEric6 ~/Bureau/ && cd ~/Bureau/</code> |
* On donne les droits d'exécution | * On donne les droits d'exécution |