python-wxWidgets
PlayOnLinux - findet Python Bibliotheken nicht
- KunoHaus
- Erledigt
Hinweis: In dem Thema PlayOnLinux - findet Python Bibliotheken nicht gibt es 18 Antworten auf 2 Seiten. Der letzte Beitrag () befindet sich auf der letzten Seite.
-
-
Das liefert die Konsole zurück:
CodeIf 'python-wxWidgets' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf python-wxWidgets
Allerdings ist mir gerade aufgefallen, dass wenn ich Python in der Konsole starte zwar auch eine Fehlermeldung kommt, allerdings es sich starten lässt und ganz normal funktioniert:
CodeCould not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python 2.7.13 (default, Jan 30 2017, 17:35:42) [GCC 6.2.1 20161209 [gcc-6-branch revision 243481]] on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "/etc/pythonstart", line 7, in <module> import readline ImportError: No module named readline
Dadurch würde ich jetzt mal annehmen, dass der Fehler in Python liegt, da ja beim Aufruf von PlayOnLinux auch die Fehlermeldung für die Plattform abhängigen Bibliotheken kommt
-
-
Ergebnis im Anhang, da es sonst zu viele Zeichen wären
-
unter aufräumen verstehe ich, .....
guck mal genauer hin:
5/12 sowie 6/13
sind doubletten - allerdings mit unterschiedlichen Prioritäten10 ist überflüssig
Was das erstere für Konsequenzen hat ist unklar. Auf jeden Fall ist es nicht gut.
Korrigieren und zypper dup!
Und das Resultat hier nochmal rein!Ich verwende tumbleweed nicht, habe aber mal in der VM auf TW Playonlinux installiert und es läuft ..
Also ... du hast mit allerhöchster Wahrscheinlichkeit was verbastelt. -
Habe die Repos jetzt so wie wurzel99 gesagt habe geupdate und ein zypper dup ausgeführt.
Hier die jetzigen repos:
Code
Alles anzeigen# | Alias | Name | Aktiviert | GPG-Überprüfung | Aktualisierung | Priorität | Typ | URI | Dienst ---+----------------------------------+----------------------------------------------------------------------+-----------+-----------------+----------------+-----------+--------+---------------------------------------------------------------------------------+------- 1 | Emulators_Wine | Wine (openSUSE_Tumbleweed) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Tumbleweed/ | 2 | KDE_Extra | Additional packages maintained by the KDE team (openSUSE_Tumbleweed) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/ | 3 | MEGAsync | MEGAsync | Ja | (r ) Ja | Ja | 99 | rpm-md | https://mega.nz/linux/MEGAsync/openSUSE_Tumbleweed/ | 4 | adobe | adobe | Ja | ( p) Ja | Ja | 99 | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/ | 5 | download.opensuse.org-oss | Haupt-Repository (OSS) | Ja | (r ) Ja | Ja | 21 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ | 6 | download.opensuse.org-tumbleweed | Hauptaktualisierungs-Repository | Ja | (r ) Ja | Ja | 21 | rpm-md | http://download.opensuse.org/update/tumbleweed/ | 7 | filesystems | Filesystem tools and FUSE-related packages (openSUSE_Tumbleweed) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_Tumbleweed/ | 8 | http-ftp.gwdg.de-54a26f23 | Packman Repository | Ja | (r ) Ja | Ja | 20 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ | 9 | multimedia_apps | Multimedia Applications (openSUSE_Tumbleweed) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Tumbleweed/ | 10 | repo-non-oss | repo-non-oss | Ja | (r ) Ja | Ja | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss | 11 | server_database | Databases (openSUSE_Tumbleweed) | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_Tumbleweed/ |
leider ist das problem allerdings immer noch nicht behoben.
ich vermute mal, dass es an diesem fehlerhaften pfad liegt:
CodeLooking for python2.6... which: no python2.6 in (/home/gregor/bin:/usr/local/bin:/usr/bin:/bin)
was unteranderem ausgegeben wird wenn man playonlinux über die konsole startet.
hier nochmal die komplette ausgabe:Code
Alles anzeigenLooking for python... 2.7.13 - Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Traceback (most recent call last): File "/usr/share/playonlinux/python/check_python.py", line 1, in <module> import os, wxversion ImportError: No module named wxversion failed tests Looking for python2.7... 2.7.13 - Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Traceback (most recent call last): File "/usr/share/playonlinux/python/check_python.py", line 1, in <module> import os, wxversion ImportError: No module named wxversion failed tests Looking for python2.6... which: no python2.6 in (/home/gregor/bin:/usr/local/bin:/usr/bin:/bin) Looking for python2... 2.7.13 - Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Traceback (most recent call last): File "/usr/share/playonlinux/python/check_python.py", line 1, in <module> import os, wxversion ImportError: No module named wxversion failed tests Please install python before trying to run this program
-
Also ich bin dem ergebnis jetzt ein wenig näher gekommen, dass problem ist unteranderem, das die Variable $PYTHONHOME an einen anderen Ort verweist als gebraucht wird. Wenn man diese auf n Richtigen setzt kommt man schon ein wenig weiter, den nun fehlt nicht mehr das Modul wxversion sondern das Modul Site
Hier die Ausgabe der Konsole:CodeLooking for python... 2.7.13 - ImportError: No module named site failed tests Looking for python2.7... 2.7.13 - ImportError: No module named site failed tests Looking for python2.6... which: no python2.6 in (/home/gregor/bin:/usr/local/bin:/usr/bin:/bin) Looking for python2... 2.7.13 - ImportError: No module named site failed tests Please install python before trying to run this program
Das heißt, nun müssen wir nur noch herausfinden, wo das module site dazugehört -
Habe jetzt die Lösung für das Problem in einem Ubuntuforum gefunden.
PlayOnLinux hat eine datei die nach Python sucht. Dort "fehlt" allerdings ein Eintrag diesen muss man hinzufügen.
Komplette Lösung hier nachzulesen:
https://askubuntu.com/question…buntu-16-04/903047#903047
Vielen Dank für eure tatkräftige Hilfe!!
-
PlayOnLinux hat eine datei die nach Python sucht. Dort "fehlt" allerdings ein Eintrag diesen muss man hinzufügen.
Der fehlt nicht! Er wird gar nicht benötigt.
In meinem Test-TW-System ist er auch nicht drin und alles funzt. Es hängt offenkundig an deiner python-Umgebung.