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 [30/12/2015 10:14]
Hypathie [Installer Eric python IDE]
utilisateurs:hypathie:tutos:python-trucs-et-machins [30/12/2015 10:32]
Hypathie [Installer Eric python IDE]
Ligne 89: Ligne 89:
 ====Installation manuelle de Eric6 ==== ====Installation manuelle de Eric6 ====
  
-  * On crée un dossier temporaire d'​installation dans le répertoire courant et on se place dedans: 
  
-<code user>​mkdir tmp && cd tmp</​code>​ +====Installer eric6 avec les dépendances venant des dépôts ​de Jessie ​====
-  +
-  * Installation ​de Qt sur une Jessie ​64 bits :+
  
-<code user>​wget http://​qt-mirror.dannhauer.de/​archive/​online_installers/​2.0/​qt-unified-linux-x64-2.0.2-2-online.run</​code>​+=== Installer les dépendances depuis les dépôts===
  
-<code root>chmod a+x qt-unified-linux-x64-2.0.2-2-online.run</​code>​ +<code root> 
-<code root>./qt-unified-linux-x64-2.0.2-2-online.run</​code>​ +apt-get install python3-pyqt5 python3-pyqt5-dbg python3-pyqt4.qsci python3-pyqt5.qtx11extras python3-pyqt5.qtsql python3-pyqt5.qtsql-dbg python3-pyqt5.qtx11extras-dbg python3-pyqt5.qsci python3-pyqt5.qsci-dbg python-pyqt5.qtsvg python3-pyqt5.qtsvg-dbg python-pyqt5.qtwebkit python-pyqt5.qtwebkit-db python3-pyqt5.qtwebkit python3-pyqt5.qtwebkit-dbg 
-<code user>​export QTDIR=/​opt/​Qt/​5.5/​gcc_64/</​code>​ +</​code>​
-<code user>​export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:​${QTDIR}/​lib</​code>​ +
-<code user>​export PATH=${QTDIR}/​bin:​${PATH}</​code>​ +
-<code root>​ln ​-s /opt/Qt/5.5/​gcc_64/​bin/​qmake /​usr/​bin/​qmake</​code>​+
  
- +===Installer eric6===
  
-  * Installation à neuf de sip :+  * On créer un dossier d'​installation dans le répertoire courant ​de l'​utilisateur ​:
  
-On vérifie qu'une ancienne version de sip n'est pas installée : +<code user>mkdir Eric6Install && cd Eric6Install</​code>​
-<code user>ls /​usr/​lib/​python3/​dist-packages/​sip*</​code>​ +
-Si la commande liste des fichiers : +
-<code user>rm /​usr/​lib/​python3/​dist-packages/​sip*</​code>​+
  
-<code user>​wget http://skylink.dl.sourceforge.net/​project/​pyqt/sip/sip-4.17/sip-4.17.tar.gz</code> +  * On télécharge Eric6  
-<code user>tar -zxvf sip-4.17.tar.gz</​code>​ +<code user>​wget http://heanet.dl.sourceforge.net/​project/​eric-ide/eric6/stable/6.1.0/eric6-6.1.0.tar.gz</​code>​
-<code user>cd sip-4.17/</​code>​ +
-<code user>​python3 configure.py</​code>​ +
-<code root>​make</​code>​ +
-<code root>​make install</​code>​ +
-<code user>​python3</​code>​ +
-<​code>>>>​ import sip</​code>​ +
-<​code>>>>​ print(sip.SIP_VERSION_STR)</​code>​ +
-<​code>>>>​ exit()</​code>​+
  
-  * Installation de PyQt-gpl-5.5.1 ​:+  * On décompresse le dossier téléchargé ​:
  
-<code user>​wget http://​netcologne.dl.sourceforge.net/​project/​pyqt/​PyQt5/​PyQt-5.5.1/​PyQt-gpl-5.5.1.tar.gz</​code>​ +<code user>tar -zxvf eric6-6.1.0.tar.gz</​code>​
-<code user>tar -zxvf PyQt-gpl-5.5.1.tar.gz</​code>​ +
-<code user>cd PyQt-gpl-5.5.1/</​code>​ +
-<code user>​python3 configure.py</​code>​ +
-<code root>​make</​code>​ +
-<code root>​make install</​code>​ +
-<code user>​python3</​code>​ +
-<​code>>>>​ import PyQt5</​code>​ +
-<​code>>>>​ exit()</​code>​ +
-<code root>ln -s /​usr/​lib/​python3.4/​site-packages/​PyQt5 /​usr/​lib/​python3.4/​PyQt5</​code>​ +
-<code root>ln -s /​usr/​lib/​python3.4/​site-packages/​PyQt5 /​usr/​lib/​python3/​dist-packages/​PyQt5</​code>​ +
-<code user>​python3 configure.py --destdir /​usr/​lib/​python3.4</​code>​+
  
-  * Installation de QScintilla ​:+  * On se déplace dans le dossier décompressé ​:
  
 +<code user>cd eric6-6.1.0/</​code>​
  
-<code user>cd tmp/</​code>​ +  * On lance l'​installation de eric6 :
-<code user>​wget http://​netcologne.dl.sourceforge.net/​project/​pyqt/​QScintilla2/​QScintilla-2.9.1/​QScintilla-gpl-2.9.1.tar.gz</​code>​ +
-<code user> tar -xzvf QScintilla-gpl-2.9.1.tar.gz</​code>​ +
-<code user>cd QScintilla-gpl-2.9.1/</​code>​ +
-<code user>cd Qt4Qt5/</​code>​ +
-<code user>​qmake qscintilla.pro </​code>​ +
-<code root>​make</​code>​ +
-<code root>​make install</​code>​ +
-<code user>cd ../​designer-Qt4Qt5</​code>​ +
-<code user>​qmake designer.pro</​code>​ +
-<code root>​make</​code>​ +
-<code root>​make install</​code>​+
  
-<code user>cd ../​Python</​code>​ 
-<code user>​python3 configure.py --pyqt=PyQt5</​code>​ 
-<code root>​make</​code>​ 
-<code root>​make install</​code>​ 
- 
-  * Installation de eric6 : 
- 
-<code user>cd ~/​tmp</​code>​ 
-<code user>​wget http://​heanet.dl.sourceforge.net/​project/​eric-ide/​eric6/​stable/​6.1.0/​eric6-6.1.0.tar.gz</​code>​ 
-<code user>tar -zxvf eric6-6.1.0.tar.gz</​code>​ 
-<code user>cd eric6-6.1.0/</​code>​ 
 <code root>​python3 install.py</​code>​ <code root>​python3 install.py</​code>​
-<code root>​python3 install-i18n.py</​code>​ 
  
-<code user>​chmod ​a+w -R ~/.eric6</code> +  * Si toutes les dépendances ont bien été installée on le retour : 
-<note tip> +<​code>​Checking dependencies 
-**Désinstaller**+Python Version: 3.4.2 
 +Found PyQt5 
 +Found QScintilla2 
 +Found QtGui 
 +Found QtNetwork 
 +Found QtPrintSupport 
 +Found QtSql 
 +Found QtSvg 
 +Found QtWebKit 
 +Found QtWebKitWidgets 
 +Found QtWidgets 
 +Qt Version: 5.3.2 
 +sip Version: 4.16.4 
 +PyQt Version: 5.3.2 
 +QScintilla Version: 2.8.4 
 +All dependencies ok.
  
-  * On désinstalle Qt : +Cleaning up old installation ...
-<code root>cd /​opt/​Qt</​code>​ +
-<code root>./​MaintenanceTool</​code>​+
  
-  * On supprime le lien symbolique vers Qt+Creating configuration file ...
  
-<code root>ls -la /​usr/​bin/​qmake</​code>​ +Compiling ​user interface files ...
-<code root>​lrwxrwxrwx 1 root root 9 sept. 20  2014 /​usr/​bin/​qmake -> qtchooser</​code>​ +
-<​code ​user>rm /​usr/​bin/​qmake</​code>​+
  
-  * On supprime sip+Compiling source files ...
  
-<code root>​apt-get autoremove python3-sip</​code>​ +Installing eric6 ...
-<code root>rm -r /​usr/​lib/​python3/​dist-packages/​PyQt5/​uic/​widget-plugins</​code>​ +
-<code root>​apt-get autoremove python-sip</​code>​ +
-<code root>rm -r /​usr/​lib/​python3/​dist-packages/​sip*</​code>​+
  
-  * On supprime PyQt5 +Installation complete.</​code>​
-<code root>rm -r /​usr/​lib/​python3/​dist-packages/​PyQt5/​</​code>​+
  
-  * On supprime QScintilla : +  * On peut déjà lancer Eric6 en tant que root 
 +<code root>​eric6</​code>​
  
-  * On supprime eric6 : +{{http://pix.toile-libre.org/upload/original/1451467749.png?500}}
-<code root>rm -r /usr/local/​bin/​eric6</​code>​ +
-<code root>​rm ​-r /​usr/​share/​applications/​eric6.desktop</code> +
-<code root>rm -r /usr/share/​applications/​eric6_webbrowser.desktop</​code>​ +
-</​note>​ +
- +
-====Installer eric6 avec les dépendances venant des dépôts de Jessie ==== +
- +
-=== installer les dépendances depuis les dépôts=== +
- +
-<code root> +
-apt-get install python3-pyqt5 python3-pyqt5-dbg python3-pyqt4.qsci python3-pyqt5.qtx11extras \ +
- ​python3-pyqt5.qtsql python3-pyqt5.qtsql-dbg python3-pyqt5.qtx11extras-dbg python3-pyqt5.qsci \  +
- ​python3-pyqt5.qsci-dbg python-pyqt5.qtsvg python3-pyqt5.qtsvg-dbg python-pyqt5.qtwebkit \  +
-python-pyqt5.qtwebkit-db python3-pyqt5.qtwebkit python3-pyqt5.qtwebkit-dbg +
-</​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