logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

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 → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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 07:15]
Hypathie [Installer Eric6 python]
utilisateurs:hypathie:tutos:python-trucs-et-machins [29/12/2015 10:20]
Hypathie [Installer Eric6 python]
Ligne 46: Ligne 46:
 ===== Installer Eric6 python===== ===== Installer Eric6 python=====
  
 +  * On passe le système sous python3
  
-  * D'​abord on télécharge Eric6 : http://eric-ide.python-projects.org/eric-download.html+<code root>​update-alternatives --install ​/usr/bin/​python ​python ​/usr/​bin/​python2.7 1</​code>​
  
-  * Référence sur l'​installation : https://github.com/davy39/eric+<code root>​update-alternatives --install ​/usr/bin/python python /​usr/​bin/​python3.4 2</code>
  
-====installation des dépendances====+<code root>​update-alternatives --list python</​code>​
  
-===qt5=== 
  
-<code root>apt-get update && apt-get install qt5-default</​code>​+<code root>python ​--version</​code>​
  
-  * A voir pour installer l'IDE qtcreator : http://​famedsolutions.com/index.php/​2015/​05/​02/​installing-qt5-on-debian-jessie/+<code root>​Python 2.7.9</code>
  
-Depuis le site officiel : http://​www.qt.io/​download-open-source/#section-2+<code root>​update-alternatives ​--config python</code>
  
-On télécharge ​la version ​correspondante à son système : +On choisit ​la version ​3.
  
-{{http://​pix.toile-libre.org/​upload/​original/1451369569.png}}+<code root>​python ​--version<​/code>
  
-===qscintilla2=== 
  
-<code root>apt-get install python-qscintilla2</​code>​+<code root>Python 3.4.2</​code>​
  
-===sip=== 
-  * Voir : http://​pyqt.sourceforge.net/​Docs/​sip4/​ 
  
-<code user>​wget http://​netcologne.dl.sourceforge.net/​project/​pyqt/​sip/​sip-4.17/​sip-4.17.tar.gz</​code>​ +  * On télécharge le script
-<code user>tar xzvf sip-4.17.tar.gz -C ~</​code>​ +
-<code user>cd sip-4.17/</​code>​ +
-<code user>​python configure.py</​code>​ +
-<code user>​make</​code>​ +
-<code root>​make install</​code>​+
  
 +<code text script_installEric6>​
 +#!/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
  
-===PyQt5===+mkdir temp
  
-  * Voir : https://​riverbankcomputing.com/​software/​pyqt/​download5+cd temp
  
-<code user>​wget http://​skylink.dl.sourceforge.net/​project/​pyqt/​PyQt5/​PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz</​code>​+apt-get source python3-pyqt5.qsci
  
-<code user>tar xzvf  PyQt-gpl-5.5.1.tar.gz -C ~</code>+cd qscintilla2-2.8.4+dfsg/​Python/
  
-<code user>cd PyQt-gpl-5.5.1/</code> +python3 configure.py ​--pyqt=PyQt5 \ #On indique qu'on souhaite utiliser pyqt5 
-<code user>​python configure.py<​/code> +-q /usr/lib/x86_64-linux-gnu/qt5/​bin/​qmake \ #Chemin du compilateur qmake livré avec qt5 
-<code user>​make<​/code> +-d /​usr/​lib/​python3/​dist-packages/PyQt5 # Chemin d'​installation de PyQt5
-<code root>​make install</code>+
  
 +make
  
-====Installer Eric6 ====+make install
  
-  * Pour obtenir la version 6+cd ../..
  
-<code user>​wget ​http://netix.dl.sourceforge.net/project/eric-ide/​eric6/​stable/​6.1.0/​eric6-6.1.0.tar.gz</​code>​+hg clone http://die-offenbachs.homelinux.org:48888/hg/eric
  
 +cd eric
  
-  * On décompresse l'​archive dans le répertoire courant+python3 install.py
  
-<code user>tar xzvf eric6-6.1.0.tar.gz -C ~</code>+rm -rf ~/Téléchargement/​temp/​
  
 +exit
 +</​code>​
  
-<code user>cd eric6-6.1.0/</​code>​+  * On se place dans le dossier de réception
  
-<code user>chmod +x install.py</​code>​+<code user>mv ~/​Téléchargements/​script_installEric6 ~/Bureau/ && cd ~/Bureau/</​code>​
  
-<​code ​user>./​install.py</​code>​+  * On donne les droits d'​exécution 
 +<​code ​root>chmod +x script_installEric6</​code>​
  
-<​code ​user></code> +  * On lance le script 
- +<​code ​root>./script_installEric6</​code>​
-<code user></​code>​+
 ===== Utilisation ===== ===== Utilisation =====
  
  
utilisateurs/hypathie/tutos/python-trucs-et-machins.txt · Dernière modification: 31/12/2015 12:00 par Hypathie

Pied de page des forums

Propulsé par FluxBB