Page 1 of 1

Problem beim Ausführen von eric

Posted: Mon Sep 24, 2018 6:50 am
by wanzi
Hallo!

Ich habe die eric Python IDE über die Anwendungsverwaltung installiert. Nun will ich die Anwendung starten und bekomme folgende Fehlermeldung zu sehen:

Code: Select all

--------------------------------------------------------------------------------
2018-09-24, 12:06:23
--------------------------------------------------------------------------------
<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.6
  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.6 (default, Sep 12 2018, 18:26:19)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]]
--------------------------------------------------------------------------------
Distribution Info:
  /etc/lsb-release
  DISTRIB_ID=LinuxMint
  DISTRIB_RELEASE=19
  DISTRIB_CODENAME=tara
  DISTRIB_DESCRIPTION="Linux Mint 19 Tara"

  /etc/os-release
  NAME="Linux Mint"
  VERSION="19 (Tara)"
  ID=linuxmint
  ID_LIKE=ubuntu
  PRETTY_NAME="Linux Mint 19"
  VERSION_ID="19"
  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=tara
  UBUNTU_CODENAME=bionic
Kann mir jemand helfen, die Anwendung zu starten?

Vielen Dank,
wanzi

Re: Problem beim Ausführen von eric

Posted: Mon Sep 24, 2018 7:15 am
by gm10

Code: Select all

apt install python3-distutils
Ist hoffentlich Dein erstes Python-Projekt. So eine Fehlermeldung sollte man interpretieren können, sonst wird das mit dem debuggen später schwierig. ;)

Re: Problem beim Ausführen von eric

Posted: Mon Sep 24, 2018 7:22 am
by wanzi
Hallo!

Ja, bin ganz neu und wollte einmal in python reinschnuppern.
Danke, jetzt klappt's.

Re: Problem beim Ausführen von eric

Posted: Mon Sep 24, 2018 7:41 am
by gm10
Gerne, und viel Erfolg! :)