Résolu le 29-10-19 Problème installation Eric pour python

Installation, configuration et utilisation des logiciels que vous souhaitez installer.
Répondre
Avatar du membre
Gazule
Messages : 109
Enregistré le : mar. 25 avr. 2017 13:34
Localisation : Vendôme

Problème installation Eric pour python

Message par Gazule »

Bonjour,

Je ne connais pas la programmation et j'aimerais approcher le langage python. J'ai Installé Eric, qui d'après bcp de commentaires sans facile à utiliser, mais au lancement il n'y a que le logo et ensuite plus rien. Quelqu'un aurait il la solution ? ou un autre IDE simple ?
Merci
ASUS B150M-K / Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz / 16316MB / Linux Mint 20.2 Uma Mate

Avatar du membre
arghlub
Administrateur du site
Messages : 10421
Enregistré le : dim. 21 mai 2017 08:19
Localisation : Provence
Contact :

Re: Problème installation Eric pour python

Message par arghlub »

Salut,

Je n'utilise pas Eric mais je viens de l'installer pour voir et pas de problème chez moi pour le lancer :
Image

As-tu installé la version qui est dans les dépôts ou es-tu allé chercher une version sur le web ?

As-tu essayé de le lancer via le terminal en saisissant tout simplement :

Code : Tout sélectionner

eric
;)
Tour1 (custom)CM MSI Z270 M3 | CPU Intel I7-7700K | CG Nvidia GTX 1080 | RAM 16Go | tripleBoot : Debian 11 | MXlinux 21 | LMint 19.3 | XFCE
Tour2 (custom)CM Gigabyte | CPU AMD Athlon 5200+ | CG Nvidia GTX 560 | RAM 6Go | FreeBSD 12.1 XFCE
Portable1 MSI GF75 Thin 9SC | CPU Intel I7-9750H | CG Nvidia GTX 1650 | RAM 32Go | dualBoot : LMint 20.2 | MXlinux 21 | XFCE
Portable2 MacBook Air A1466 (2015) | CPU Intel I5-5250U | CG Intel HD Graphics 6000 | RAM 8Go | dualBoot : macOS Sierra | MXlinux 21 XFCE
─────( pour une informatique libre ! -membre en stand-by de l' April.org────────────────

Avatar du membre
Gazule
Messages : 109
Enregistré le : mar. 25 avr. 2017 13:34
Localisation : Vendôme

Re: Problème installation Eric pour python

Message par Gazule »

Je viens d'essayer par le terminal et il me renvoie un message que j'arrive pas a analyser

Code : Tout sélectionner

gazule@gazule-System-Product-Name:~$ eric
qt5ct: using qt5ct plugin
BackgroundService listening on: 43543
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/gazule/.eric6/eric6_error.log".

Error information:
--------------------------------------------------------------------------------
2019-09-12, 18:22:02
--------------------------------------------------------------------------------
<class 'ModuleNotFoundError'>: 
No module named 'distutils.sysconfig'
--------------------------------------------------------------------------------
  File "/usr/share/eric/modules/eric6.py", line 379, in <module>
    main()
  File "/usr/share/eric/modules/eric6.py", line 360, in main
    disablecrash, restartArgs)
  File "/usr/share/eric/modules/UI/UserInterface.py", line 248, in __init__
    self.pluginManager = PluginManager(self, develPlugin=plugin)
  File "/usr/share/eric/modules/PluginManager/PluginManager.py", line 98, in __init__
    "global": os.path.join(Utilities.getPythonModulesDirectory(),
  File "/usr/share/eric/modules/Globals/__init__.py", line 108, in getPythonModulesDirectory
    import distutils.sysconfig

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.6.8
  Qt 5.9.5
  PyQt 5.10.1
  sip 4.19.7
  QScintilla 2.10.2
  WebKit 602.1
  eric6 17.11.1 (rev. ab851fd69434)

Platform: linux
3.6.8 (default, Aug 20 2019, 17:12:48) 
[GCC 8.3.0]
--------------------------------------------------------------------------------
Distribution Info:
  /etc/os-release
  NAME="Linux Mint"
  VERSION="19.2 (Tina)"
  ID=linuxmint
  ID_LIKE=ubuntu
  PRETTY_NAME="Linux Mint 19.2"
  VERSION_ID="19.2"
  HOME_URL="https://www.linuxmint.com/"
  SUPPORT_URL="https://forums.ubuntu.com/"
  BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
  PRIVACY_POLICY_URL="https://www.linuxmint.com/"
  VERSION_CODENAME=tina
  UBUNTU_CODENAME=bionic

  /etc/lsb-release
  DISTRIB_ID=LinuxMint
  DISTRIB_RELEASE=19.2
  DISTRIB_CODENAME=tina
  DISTRIB_DESCRIPTION="Linux Mint 19.2 Tina"
ASUS B150M-K / Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz / 16316MB / Linux Mint 20.2 Uma Mate

Avatar du membre
Gazule
Messages : 109
Enregistré le : mar. 25 avr. 2017 13:34
Localisation : Vendôme

Re: Problème installation Eric pour python

Message par Gazule »

chose que j'avais oublié de précisé, j'avais téléchargé via les dépôts.
J'ai cherché sur le net et j'ai trouvé ceci sur un forum en anglais:
Il mentionne No module named 'distutils.sysconfig'.
Ce module python3 est issu du python3-setuptoolspackage.
Nous devons donc installer ce paquet manuellement:

Code : Tout sélectionner

 sudo apt install python3-setuptools
Maintenant ça fonctionne.
ASUS B150M-K / Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz / 16316MB / Linux Mint 20.2 Uma Mate

Avatar du membre
arghlub
Administrateur du site
Messages : 10421
Enregistré le : dim. 21 mai 2017 08:19
Localisation : Provence
Contact :

Re: Problème installation Eric pour python

Message par arghlub »

Gazule a écrit :
ven. 13 sept. 2019 17:40
Maintenant ça fonctionne.
Super 8-)

Si le sujet est résolu, merci de mettre un attribut de sujet (résolu), voir tuto ici
;)
Tour1 (custom)CM MSI Z270 M3 | CPU Intel I7-7700K | CG Nvidia GTX 1080 | RAM 16Go | tripleBoot : Debian 11 | MXlinux 21 | LMint 19.3 | XFCE
Tour2 (custom)CM Gigabyte | CPU AMD Athlon 5200+ | CG Nvidia GTX 560 | RAM 6Go | FreeBSD 12.1 XFCE
Portable1 MSI GF75 Thin 9SC | CPU Intel I7-9750H | CG Nvidia GTX 1650 | RAM 32Go | dualBoot : LMint 20.2 | MXlinux 21 | XFCE
Portable2 MacBook Air A1466 (2015) | CPU Intel I5-5250U | CG Intel HD Graphics 6000 | RAM 8Go | dualBoot : macOS Sierra | MXlinux 21 XFCE
─────( pour une informatique libre ! -membre en stand-by de l' April.org────────────────

Répondre