ubuntuusers.de

TunaPie Installation 20.10. python-wxversion

Status: Ungelöst | Ubuntu-Version: Ubuntu 20.10 (Groovy Gorilla)
Antworten |

Lackyluuk

Avatar von Lackyluuk

Anmeldungsdatum:
15. Dezember 2020

Beiträge: Zähle...

Hi liebes Forum, Bisher hat mir das lesen hier immer geholfen, nach einigen nicht von Erfolg gekrönten Stunden wende ich mich nun auch mal mit einer Frage an euch:

Ich Versuche TunaPie zu installieren und scheitere daran python-wxversion zu installieren. Laut Paketsuche ist es nicht mehr in den Quellen von 20.10 enthalten. Was kann ich jetzt tun um TunaPie trotzdem zum laufen zu bringen?

Ich nutze Ubuntu Studio 20.10

sudo sh install.sh 
[sudo] Passwort für **: 
Traceback (most recent call last):
  File "src/compile", line 1, in <module>
    import Tunapie
  File "/tunapie-2.1.18/src/Tunapie.py", line 23, in <module>
    import wxversion
ModuleNotFoundError: No module named 'wxversion'
cp: Aufruf von stat für 'src/*.pyc' nicht möglich: Datei oder Verzeichnis nicht gefunden
sudo apt install python-wxversion
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket python-wxversion kann nicht gefunden werden.
pip show wxpython
Name: wxPython
Version: 4.0.7
Summary: Cross platform GUI toolkit for Python, "Phoenix" version
Home-page: http://wxPython.org/
Author: Robin Dunn
Author-email: robin@alldunn.com
License: wxWindows Library License (https://opensource.org/licenses/wxwindows.php)
Location: /usr/lib/python3/dist-packages
Requires: numpy
Required-by: 
python -V
Python 3.8.6
cat sources.list
# Automatically generated by Calamares on 2020-10-30.
# Lines starting with "deb" are mandatory, while lines starting with "deb-src"
# are for more detailed package information.

## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
## newer versions of Ubuntu Studio.
deb http://de.archive.ubuntu.com/ubuntu/ groovy main restricted

## Major bug fix updates produced after the final release of Ubuntu Studio.
## Have you noticed a regression? Please report it!
## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions
deb http://de.archive.ubuntu.com/ubuntu/ groovy-updates main restricted

## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team.
## Also, please note that software in Universe WILL NOT receive any review or
## updates from the Ubuntu security team directly. Updates in this repository
## are provided by volunteers, but most come from Debian.
deb http://de.archive.ubuntu.com/ubuntu/ groovy universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ groovy universe
deb http://de.archive.ubuntu.com/ubuntu/ groovy-updates universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ groovy-updates universe

## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team,
## and may not be under a free licence. Please satisfy yourself as your rights
## to use the software. Also, please note that software in Multiverse WILL NOT
## receive any review or updates from the Ubuntu security team directly.
deb http://de.archive.ubuntu.com/ubuntu/ groovy multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ groovy multiverse
deb http://de.archive.ubuntu.com/ubuntu/ groovy-updates multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ groovy-updates multiverse

## Software from this repository contains tested security updates from the
## Ubuntu security team.
deb http://security.ubuntu.com/ubuntu/ groovy-security main restricted
deb http://security.ubuntu.com/ubuntu/ groovy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ groovy-security universe
deb http://security.ubuntu.com/ubuntu/ groovy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ groovy-security multiverse

## Software from this repository may not have been tested as extensively as
## software contained in the main release, although it includes newer versions
## of some applications which may provide useful features. Also, please note
## that software in Backports WILL NOT receive any review or updates from the
## Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## "partner" repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu/ groovy partner
deb-src http://archive.canonical.com/ubuntu/ groovy partner

deb http://archive.ubuntu.com/ubuntu groovy main universe
deb http://archive.ubuntu.com/ubuntu groovy-security main universe
deb http://archive.ubuntu.com/ubuntu groovy-updates main universe

deb http://apt.wxwidgets.org/ groovy-wx main
deb-src http://apt.wxwidgets.org/ groovy-wx main

Würde mich über Hilfe freuen, sagt Bescheid wenn ihr noch irgendwelche Infos von mir braucht! besten Gruß

pepre Team-Icon

Supporter
Avatar von pepre

Anmeldungsdatum:
31. Oktober 2005

Beiträge: 6474

Wohnort: Erlangen

Bei Ubuntu siehts damit so aus: https://packages.ubuntu.com/search?keywords=python-wxversion.

Das könnte also funktionieren:

wget http://de.archive.ubuntu.com/ubuntu/pool/universe/w/wxpython3.0/python-wxversion_3.0.2.0+dfsg-8build1_all.deb
sudo dpkg -i python-wxversion_3.0.2.0+dfsg-8build1_all.deb
sudo apt install -f

In Debian Buster ist tunapie vorhanden. Ggf kann man auch diese Pakete nehmen und per dpkg installieren. Da Ubuntu auf Debian fußt kann man das ausnahmsweise schon mal tun, bevor man obskure Fremdquellen bemüht.

Axel-Erfurt

Anmeldungsdatum:
18. Mai 2016

Beiträge: 1347

Du könntest wxPython auch mit pip installieren.

1
pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython

Lackyluuk

(Themenstarter)
Avatar von Lackyluuk

Anmeldungsdatum:
15. Dezember 2020

Beiträge: 3

Danke euch beiden schon mal für die Hilfe!

die Installation von python-wxversion hat soweit geklappt es wird zumindest "geshowed"

sudo apt show python-wxversion 
Package: python-wxversion
Version: 3.0.2.0+dfsg-8build1
Status: install ok installed
Priority: optional
Section: python
Source: wxpython3.0
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: wxWidgets Maintainers <team+wx@tracker.debian.org>
Installed-Size: 65,5 kB
Depends: python2:any (<< 2.8), python2:any (>= 2.7~)
Homepage: https://www.wxpython.org/
Download-Size: unbekannt
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: API for selecting the wxPython version to use
 wxWidgets (formerly known as wxWindows) is a class library for C++ providing
 GUI components and other facilities on several popular platforms (and some
 unpopular ones as well).
 .
 This package provides the wxPython version selector.

Dennoch kann install.sh das Modul nicht finden

sudo sh install.sh 
Traceback (most recent call last):
  File "src/compile", line 1, in <module>
    import Tunapie
  File "/home/lackyluuk/Schreibtisch/tunapie-2.1.18/src/Tunapie.py", line 23, in <module>
    import wxversion
ModuleNotFoundError: No module named 'wxversion'
cp: Aufruf von stat für 'src/*.pyc' nicht möglich: Datei oder Verzeichnis nicht gefunden

Hat das evtl was mit $PATH zu tun oder mit verschiedenen python oder wx versionen?

Wenn ich versuche tunapie per dpkg zu installieren fehlt mir python-wxgtk3.0 Wenn ich versuche python-wxgtk3.0 zu installieren fehlt mir libwxgtk3.0-0v5 Wenn ich versuche libwxgtk3.0-0v5 zu installieren

sudo apt install libwxgtk3.0-gtk3-0v5 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
libwxgtk3.0-gtk3-0v5 ist schon die neueste Version (3.0.5.1+dfsg-2).
Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 python-wxgtk3.0 : Hängt ab von: libwxgtk3.0-0v5 (>= 3.0.2+dfsg) ist aber nicht installierbar
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).

Wenn ich in Muon nachsehe sehe ich dass ich libwxgtk4.0 installiert habe. Anscheinend ist das ein Konflikt. Vielleicht bin ich auch total auf dem holzweg, lese auf jeden Fall die ganze zeit fleißig basics nach und lerne viel aber hab das Gefühl mich im Kreis zu drehen.

Whats the missing link ?☺

Lackyluuk

(Themenstarter)
Avatar von Lackyluuk

Anmeldungsdatum:
15. Dezember 2020

Beiträge: 3

lackyluuk@lackyluuk:~/Schreibtisch/tunapie-2.1.18$ sudo apt install wxpython-tools 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
wxpython-tools ist schon die neueste Version (4.0.7+dfsg-6).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
lackyluuk@lackyluuk:~/Schreibtisch/tunapie-2.1.18$ sudo sh install.sh 
Traceback (most recent call last):
  File "src/compile", line 1, in <module>
    import Tunapie
  File "/home/lackyluuk/Schreibtisch/tunapie-2.1.18/src/Tunapie.py", line 24, in <module>
    wxversion.ensureMinimal("2.6")
  File "/usr/lib/python2.7/dist-packages/wxversion.py", line 209, in ensureMinimal
    import wx, webbrowser
ImportError: No module named wx

Axel-Erfurt

Anmeldungsdatum:
18. Mai 2016

Beiträge: 1347

Das läuft wohl noch mit Python-2.7 ?

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55448

Wohnort: Berlin

Ich hätte eine Quick-and-Dirty-Methode für dich:

  1. python-wxversion runterschmeißen

    sudo apt purge python-wxversion
  2. Paket, das alle Abhängigkeiten, die in 20.10 nicht existieren enthält herunterladen

    wget http://tomtomtom.org/20.10/tunapie_2.1.19-2~python2-wxversion_amd64.deb
  3. das heruntergeladene Paket installieren

    sudo apt install ./tunapie_2.1.19-2~python2-wxversion_amd64.deb

Ändert natürlich nix daran, dass Python2 tot ist und das tunapie-Projekt wohl ebenso - seit 5 Jahren nix mehr passiert dort. In absehbarer Zeit wird wohl auch Python2 komplett aus den Repos verschwinden.

Axel-Erfurt

Anmeldungsdatum:
18. Mai 2016

Beiträge: 1347

Gibt es in tunapie etwas was andere Programme nicht können?

Internetradio

Antworten |