Ok, das erklärt einiges.
Spannend, dass die Version als kompatibel angezeigt wird.
Welches wäre der neuste Raspi, der mit drr Version standardmäßig funktioniert
Ok, das erklärt einiges.
Spannend, dass die Version als kompatibel angezeigt wird.
Welches wäre der neuste Raspi, der mit drr Version standardmäßig funktioniert
ich habe nun mehrere Versuche mit mehreren SD Karten gemacht um eine Bullseye Version zum laufen zu bekommen.
Ich weiß sie ist alt, ich weiß sie wird nicht mehr offiziell supportet, aber es muss eben diese Version sein.
Ich habe das Image hier (https://downloads.raspberrypi.com/raspios_full_a…m64-2023-05-03/) ich hab diese Datei (2023-05-03-raspios-bullseye-arm64-full.img.xz) heruntergeladen und mit Etcher auf die 64 GB SD karte überspielt.
Der Lüfter zuckt nur Kurz und der Bildschirm bleibt auf kein Signal. Muss ich die vorher entpacken, damit es funktioniert ? oder waoran könnte es liegen ?
nette Diskussion, aber es geht nicht um open Source oder nicht, sondern ich habe erwähnt das fehlende Abwärtskompatibilität das Problem ist, das hat nix mit Open Source oder nicht zu tun.
Gerade bei Open Source finde ich es extrem Schade, weil Leute sich die Arbeit gemacht haben und durch fehlende Abwärtskompatibilität der Wert der durch die Community gemachten Arbeit vernichtet wird, sofern nicht dauerhaft weiter Arbeit investiert wird.
Mich verwundert, dass diese Wertvernichtung hier so positiv gesehen wird.
Aber seis drum, jedem seine Meinung
Ich werde stark an meine Jahre mit Linux als PC Betriebssystem erinnert, auch dort war es so, das fast nix installierbar war, weil die 38 Abhängigkeit der 40 Abhängigkeit nicht mehr verfügbar war.
Das passiert nur wenn man sich das System verbastelt und irgendwelche ungepflegten Fremdquellen einbindet. So ähnlich sieht das hier ja auch aus. Du willst etwas installieren das die Entwickler anscheinend nicht mehr weiter pflegen. Das ist aber nicht die Schuld von Linux. Was sollten die Linux-Entwickler oder die Distributionen denn dagegen machen? Unter Windows oder einem anderem Betriebssystem hätte man ja genau das gleiche Problem mit dieser Software.
ich glaube nicht, dass die Diskusion hier zu etwas führt und es in irgendeiner Weise der Lösung des Problems weiterbringt.
Aber kurz darauf eingegangen, das Thema ist Abwärtskompatibilität.
Andere Betriebssystem werden so entwickelt, dass sie möglichst weitgehend abwärtskompatibel sind, so dass eine ständige Aktualisierung von Programmen gar nicht zwingend nötig ist.
Nicht das sich Leute mit anderen Versionen die Programme zerschießen ist die Notwendigkeit von venv, sondern die fehlende Abwärtskompatibilität. In meinen Augen wird da Ursache und Wirkung vertauscht.
Aus meiner Sicht einer der wesentlichen Gründe, warum Linux als PC Betriebssystem nie eine relevante Rolle spielen wird. Der Pflegeaufwand für Entwickler und Anwender ist viel zu hoch. Selbst für mich mit einer gewissen IT Affinität war der Aufwand so viel höher, dass es in keinem Verhältnis stand.
Auf der anderen Seite habe ich kleine Programme vor 10 Jahren geschrieben auf Win 7, die laufen unverändert auch 1:1 in WIN11. Bei Linux sind 3 Jahre scheinbar schon ein unlösbares Problem, wie wir es hier sehen.
Ansonsten, das passiert, wenn man sich das Systemverbastelt ???
Wenn es so wäre, gäbe es ja eine einfach Lösung. Einfach ein neues Image nehmen. Es sei denn du meinst, das das Raspi OS von Haus aus verbastelt ist.
Das System das ich verwende ist original, das ist ein jungfräuliches System, auf dem nur eine einzige Anwendung laufen soll.
Dann kann das aber nicht sein:
libgme0 ist bereits auf dem Raspi installiert
Interpretiere ich das hier dann falsch?
vielleicht eine blöde Idee, aber was spricht dagegen Raspberry Pi OS Bullseye (Debian 11): Basiert auf Python 3.9. zu installieren. das wäre Pillow 9.2 kompatibel
fotobox@pibooth:/var/lib/dpkg/info $ df -h /var/lib/dpkg/info
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 58G 7.6G 48G 14% /
Da ist noch viel Platz.
fotobox@pibooth:/var/lib/dpkg/info $ sudo apt --reinstall install libgme0:arm64
Summary:
Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 136
Download size: 120 kB
Space needed: 0 B / 51.1 GB available
Get:1 http://deb.debian.org/debian trixie/main arm64 libgme0 arm64 0.6.3-7+b2 [120 kB]
Fetched 120 kB in 0s (665 kB/s)
dpkg: unrecoverable fatal error, aborting:
loading files list file for package 'libgme0:arm64': cannot open /var/lib/dpkg/info/libgme0:arm64.list (Bad message)
Error: Sub-process /usr/bin/dpkg returned an error code (2)
mag er auch nicht...
Danke,
Ich werde stark an meine Jahre mit Linux als PC Betriebssystem erinnert, auch dort war es so, das fast nix installierbar war, weil die 38 Abhängigkeit der 40 Abhängigkeit nicht mehr verfügbar war.
hier scheint es ähnlich zu sein.
Ich habe verstanden, das damit pibooth läuft ich python 3.10 brauche, weil damit pillow 9.2 läuft.
Ein deinstallieren von python 3.13 und neues installieren von Python 3.10 wird abgeraten, sondern pyenv empfohlen, so habe ich recherchiert.
das Problem ist, das auch pyenv nicht installierbar ist:
fotobox@pibooth:~ $ sudo apt-get install pyenv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
bzip2-doc expat libauthen-sasl-perl libbrotli-dev libbz2-dev libcgi-fast-perl libcgi-pm-perl libclang-cpp19 libclone-perl libcommon-sense-perl
libdata-dump-perl libencode-locale-perl libfcgi-bin libfcgi-perl libfcgi0t64 libffi-dev libfile-listing-perl libfont-afm-perl libfontconfig-dev
libfontconfig1-dev libfreetype-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dane0t64 libgnutls-openssl27t64 libgnutls28-dev libgnutls30t64
libgpg-error-dev libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libidn2-dev libio-compress-brotli-perl libio-html-perl libio-socket-ssl-perl libjson-perl
libjson-xs-perl liblwp-mediatypes-perl liblwp-protocol-https-perl liblzma-dev libmailtools-perl libmediawiki-api-perl libncurses-dev libnet-http-perl
libnet-smtp-ssl-perl libnet-ssleay-perl libnspr4-dev libnss3-dev libp11-kit-dev libpcre2-32-0 libpcre2-posix3 libpfm4 libpng-dev libpng-tools libpng16-16t64
libreadline-dev libsqlite3-dev libssl-dev libssl3t64 libtasn1-6-dev libtasn1-doc libterm-readkey-perl libtimedate-perl libtry-tiny-perl
libtypes-serialiser-perl libunbound8 liburi-perl libwww-perl libwww-robotrules-perl libxft-dev libxml2-dev libxmlsec1-dev libxmlsec1t64 libxmlsec1t64-gcrypt
libxmlsec1t64-gnutls libxmlsec1t64-nss libxmlsec1t64-openssl libxrender-dev libxslt1-dev libxss-dev libz3-dev llvm llvm-19 llvm-19-dev llvm-19-linker-tools
llvm-19-runtime llvm-19-tools llvm-runtime nettle-dev openssl openssl-provider-legacy pcre2-utils perl-openssl-defaults tcl tcl-dev tcl8.6 tcl8.6-dev tk
tk-dev tk8.6 tk8.6-dev
Suggested packages:
libdigest-hmac-perl libgssapi-perl freetype2-doc libgcrypt-bin libgcrypt20-doc gmp-doc libgmp10-doc libmpfr-dev gnutls-bin gnutls-doc libcrypt-ssleay-perl
liblzma-doc ncurses-doc p11-kit-doc readline-doc sqlite3-doc libssl-doc libsub-name-perl libbusiness-isbn-perl libmime-base32-perl libregexp-ipv6-perl
libauthen-ntlm-perl llvm-19-doc debhelper python3-tk-dbg libsecret-1-dev tcl-doc tcl-tclreadline tcl8.6-doc tk-doc tk8.6-doc
The following NEW packages will be installed:
bzip2-doc expat libauthen-sasl-perl libbrotli-dev libbz2-dev libcgi-fast-perl libcgi-pm-perl libclang-cpp19 libclone-perl libcommon-sense-perl
libdata-dump-perl libencode-locale-perl libfcgi-bin libfcgi-perl libfcgi0t64 libffi-dev libfile-listing-perl libfont-afm-perl libfontconfig-dev
libfontconfig1-dev libfreetype-dev libgcrypt20-dev libgmp-dev libgmpxx4ldbl libgnutls-dane0t64 libgnutls-openssl27t64 libgnutls28-dev libgpg-error-dev
libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libidn2-dev libio-compress-brotli-perl libio-html-perl libio-socket-ssl-perl libjson-perl libjson-xs-perl
liblwp-mediatypes-perl liblwp-protocol-https-perl liblzma-dev libmailtools-perl libmediawiki-api-perl libncurses-dev libnet-http-perl libnet-smtp-ssl-perl
libnet-ssleay-perl libnspr4-dev libnss3-dev libp11-kit-dev libpcre2-32-0 libpcre2-posix3 libpfm4 libpng-dev libpng-tools libreadline-dev libsqlite3-dev
libssl-dev libtasn1-6-dev libtasn1-doc libterm-readkey-perl libtimedate-perl libtry-tiny-perl libtypes-serialiser-perl libunbound8 liburi-perl libwww-perl
libwww-robotrules-perl libxft-dev libxml2-dev libxmlsec1-dev libxmlsec1t64 libxmlsec1t64-gcrypt libxmlsec1t64-gnutls libxmlsec1t64-nss libxmlsec1t64-openssl
libxrender-dev libxslt1-dev libxss-dev libz3-dev llvm llvm-19 llvm-19-dev llvm-19-linker-tools llvm-19-runtime llvm-19-tools llvm-runtime nettle-dev
pcre2-utils perl-openssl-defaults pyenv tcl tcl-dev tcl8.6 tcl8.6-dev tk tk-dev tk8.6 tk8.6-dev
The following packages will be upgraded:
libgnutls30t64 libpng16-16t64 libssl3t64 openssl openssl-provider-legacy
5 upgraded, 105 newly installed, 0 to remove and 131 not upgraded.
Need to get 11.5 MB/99.8 MB of archives.
After this operation, 585 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian trixie/main arm64 expat arm64 2.7.1-2 [47.0 kB]
Get:2 http://deb.debian.org/debian trixie/main arm64 libauthen-sasl-perl all 2.1700-1 [44.8 kB]
Get:3 http://deb.debian.org/debian trixie/main arm64 libhtml-tagset-perl all 3.24-1 [14.7 kB]
Get:4 http://deb.debian.org/debian trixie/main arm64 liburi-perl all 5.30-1 [105 kB]
Get:5 http://deb.debian.org/debian trixie/main arm64 libhtml-parser-perl arm64 3.83-1+b2 [97.5 kB]
Get:6 http://deb.debian.org/debian trixie/main arm64 libcgi-pm-perl all 4.68-1 [217 kB]
Get:7 http://deb.debian.org/debian trixie/main arm64 libfcgi0t64 arm64 2.4.5-0.1 [25.0 kB]
Get:8 http://deb.debian.org/debian trixie/main arm64 libfcgi-perl arm64 0.82+ds-3+b2 [24.4 kB]
Get:9 http://deb.debian.org/debian trixie/main arm64 libcgi-fast-perl all 1:2.17-1 [11.8 kB]
Get:10 http://deb.debian.org/debian trixie/main arm64 libclone-perl arm64 0.47-1+b1 [13.7 kB]
Get:11 http://deb.debian.org/debian trixie/main arm64 libcommon-sense-perl arm64 3.75-3+b5 [22.9 kB]
Get:12 http://deb.debian.org/debian trixie/main arm64 libdata-dump-perl all 1.25-1 [28.4 kB]
Get:13 http://deb.debian.org/debian trixie/main arm64 libencode-locale-perl all 1.05-3 [12.9 kB]
Get:14 http://deb.debian.org/debian trixie/main arm64 libfcgi-bin arm64 2.4.5-0.1 [11.9 kB]
Get:15 http://deb.debian.org/debian trixie/main arm64 libtimedate-perl all 2.3300-2 [39.3 kB]
Get:16 http://deb.debian.org/debian trixie/main arm64 libhttp-date-perl all 6.06-1 [10.7 kB]
Get:17 http://deb.debian.org/debian trixie/main arm64 libfile-listing-perl all 6.16-1 [12.4 kB]
Get:18 http://deb.debian.org/debian trixie/main arm64 libfont-afm-perl all 1.20-4 [13.1 kB]
Get:19 http://deb.debian.org/debian trixie/main arm64 libgpg-error-dev arm64 1.51-4 [138 kB]
Get:20 http://deb.debian.org/debian trixie/main arm64 libgcrypt20-dev arm64 1.11.0-7 [797 kB]
Get:21 http://deb.debian.org/debian trixie/main arm64 libgmpxx4ldbl arm64 2:6.3.0+dfsg-3 [329 kB]
Get:22 http://deb.debian.org/debian trixie/main arm64 libgmp-dev arm64 2:6.3.0+dfsg-3 [621 kB]
Get:23 http://deb.debian.org/debian trixie/main arm64 libunbound8 arm64 1.22.0-2+deb13u1 [554 kB]
Get:24 http://deb.debian.org/debian trixie/main arm64 libgnutls-dane0t64 arm64 3.8.9-3+deb13u1 [453 kB]
Get:25 http://deb.debian.org/debian trixie/main arm64 libgnutls-openssl27t64 arm64 3.8.9-3+deb13u1 [453 kB]
Get:26 http://deb.debian.org/debian trixie/main arm64 libidn2-dev arm64 2.3.8-2 [101 kB]
Get:27 http://deb.debian.org/debian trixie/main arm64 libp11-kit-dev arm64 0.25.5-3 [208 kB]
Get:28 http://deb.debian.org/debian trixie/main arm64 libtasn1-6-dev arm64 4.20.0-2 [96.7 kB]
Get:29 http://deb.debian.org/debian trixie/main arm64 nettle-dev arm64 3.10.1-1 [1,325 kB]
Get:30 http://deb.debian.org/debian trixie/main arm64 libgnutls28-dev arm64 3.8.9-3+deb13u1 [1,418 kB]
Get:31 http://deb.debian.org/debian trixie/main arm64 libio-html-perl all 1.004-3 [16.2 kB]
Get:32 http://deb.debian.org/debian trixie/main arm64 liblwp-mediatypes-perl all 6.04-2 [20.2 kB]
Get:33 http://deb.debian.org/debian trixie/main arm64 libhttp-message-perl all 7.00-2 [79.8 kB]
Get:34 http://deb.debian.org/debian trixie/main arm64 libhtml-form-perl all 6.12-1 [32.3 kB]
Get:35 http://deb.debian.org/debian trixie/main arm64 libhtml-tree-perl all 5.07-3 [211 kB]
Get:36 http://deb.debian.org/debian trixie/main arm64 libhtml-format-perl all 2.16-2 [38.8 kB]
Get:37 http://deb.debian.org/debian trixie/main arm64 libhttp-cookies-perl all 6.11-1 [19.1 kB]
Get:38 http://deb.debian.org/debian trixie/main arm64 libhttp-daemon-perl all 6.16-1 [23.5 kB]
Get:39 http://deb.debian.org/debian trixie/main arm64 libhttp-negotiate-perl all 6.01-2 [13.1 kB]
Get:40 http://deb.debian.org/debian trixie/main arm64 libio-compress-brotli-perl arm64 0.004001-2+b3 [16.8 kB]
Get:41 http://deb.debian.org/debian trixie/main arm64 perl-openssl-defaults arm64 7+b2 [6,712 B]
Get:42 http://deb.debian.org/debian trixie/main arm64 libnet-ssleay-perl arm64 1.94-3 [323 kB]
Get:43 http://deb.debian.org/debian trixie/main arm64 libio-socket-ssl-perl all 2.089-1 [223 kB]
Get:44 http://deb.debian.org/debian trixie/main arm64 libjson-perl all 4.10000-1 [87.5 kB]
Get:45 http://deb.debian.org/debian trixie/main arm64 libtypes-serialiser-perl all 1.01-1 [12.2 kB]
Get:46 http://deb.debian.org/debian trixie/main arm64 libjson-xs-perl arm64 4.040-1~deb13u1 [89.4 kB]
Get:47 http://deb.debian.org/debian trixie/main arm64 libnet-http-perl all 6.23-1 [23.9 kB]
Get:48 http://deb.debian.org/debian trixie/main arm64 libtry-tiny-perl all 0.32-1 [22.9 kB]
Get:49 http://deb.debian.org/debian trixie/main arm64 libwww-robotrules-perl all 6.02-1 [12.9 kB]
Get:50 http://deb.debian.org/debian trixie/main arm64 libwww-perl all 6.78-1 [183 kB]
Get:51 http://deb.debian.org/debian trixie/main arm64 liblwp-protocol-https-perl all 6.14-1 [10.8 kB]
Get:52 http://deb.debian.org/debian trixie/main arm64 libnet-smtp-ssl-perl all 1.04-2 [6,548 B]
Get:53 http://deb.debian.org/debian trixie/main arm64 libmailtools-perl all 2.22-1 [88.8 kB]
Get:54 http://deb.debian.org/debian trixie/main arm64 libmediawiki-api-perl all 0.52-2 [26.8 kB]
Get:55 http://deb.debian.org/debian trixie/main arm64 libnspr4-dev arm64 2:4.36-1 [203 kB]
Get:56 http://deb.debian.org/debian trixie/main arm64 libnss3-dev arm64 2:3.110-1 [251 kB]
Get:57 http://deb.debian.org/debian trixie/main arm64 libpcre2-32-0 arm64 10.46-1~deb13u1 [238 kB]
Get:58 http://deb.debian.org/debian trixie/main arm64 libpcre2-posix3 arm64 10.46-1~deb13u1 [64.1 kB]
Get:59 http://deb.debian.org/debian trixie/main arm64 libtasn1-doc all 4.20.0-2 [325 kB]
Get:60 http://deb.debian.org/debian trixie/main arm64 libterm-readkey-perl arm64 2.38-2+b4 [24.5 kB]
Get:61 http://deb.debian.org/debian trixie/main arm64 libxmlsec1t64 arm64 1.2.41-1+b1 [127 kB]
Get:62 http://deb.debian.org/debian trixie/main arm64 libxmlsec1t64-gcrypt arm64 1.2.41-1+b1 [38.3 kB]
Get:63 http://deb.debian.org/debian trixie/main arm64 libxmlsec1t64-gnutls arm64 1.2.41-1+b1 [33.1 kB]
Get:64 http://deb.debian.org/debian trixie/main arm64 libxmlsec1t64-nss arm64 1.2.41-1+b1 [55.1 kB]
Get:65 http://deb.debian.org/debian trixie/main arm64 libxmlsec1t64-openssl arm64 1.2.41-1+b1 [72.2 kB]
Get:66 http://deb.debian.org/debian trixie/main arm64 libxslt1-dev arm64 1.1.35-1.2+deb13u2 [346 kB]
Get:67 http://deb.debian.org/debian trixie/main arm64 libxmlsec1-dev arm64 1.2.41-1+b1 [427 kB]
Get:68 http://deb.debian.org/debian trixie/main arm64 pcre2-utils arm64 10.46-1~deb13u1 [182 kB]
Get:69 http://deb.debian.org/debian trixie/main arm64 pyenv all 2.5.4-1 [322 kB]
Fetched 11.5 MB in 18s (636 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
dpkg: unrecoverable fatal error, aborting:
loading files list file for package 'libgme0:arm64': cannot open /var/lib/dpkg/info/libgme0:arm64.list (Bad message)
E: Sub-process /usr/bin/dpkg returned an error code (2)
Display More
libgme0 ist bereits auf dem Raspi installiert
gibt es einen anderen Weg ohne pyenv?
mollyman01 Ja das bricht ab, aber was hat apt damit zu tun? Ich habe das Gefühl Du hast den Grund für venv noch nicht wirklich verstanden. apt hat keine Ahnung von pip. Was mit pip an apt vorbei installiert wird, sieht/kennt apt nicht! Genau deswesgen machen die sich ja potentiell gegenseitig installierte Programm- und Paketabhängigkeiten kaputt. Darum heisst die pip Option so deutlich drastisch --break-system-packages.
sorry jetzt habt ihr mich gesamt völlig verwirrt.
Apt ist Systemweit
Pillow ist in Apt
pibooth ist im Venv
APT ist in der venv aber nicht relevant sondern nur pip
Sorry ich verliere jetzt den Überblick völlig bin maximal verwirrt und habe jetzt gar keinen Ansatz zur Problembehebnung
und wie hilft mir das um einfach nur eine Software zu installieren, mehr möchte ich doch gar nicht. ![]()
hmm.
(pibooth) fotobox@pibooth:~ $ apt list --installed | grep pil
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
device-tree-compiler/stable,now 1.7.2-2+b1 arm64 [installed,automatic]
python3-pil/stable,now 11.1.0-5+b1 arm64 [installed,automatic]
(pibooth) fotobox@pibooth:~ $ apt list --installed | grep setup
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
console-setup-linux/stable,stable,now 1.242~deb13u1 all [installed,automatic]
console-setup/stable,stable,now 1.242~deb13u1 all [installed]
dmsetup/stable,now 2:1.02.205-2 arm64 [installed,automatic]
libcryptsetup12/stable,now 2:2.7.5-2 arm64 [installed,automatic]
python3-setuptools-whl/stable,stable,now 78.1.1-0.1 all [installed,automatic]
python3-setuptools/stable,stable,now 78.1.1-0.1 all [installed,automatic]
(pibooth) fotobox@pibooth:~ $
Display More
Ich würde sagen pilow ist nicht installiert.
Kann es sein, dass die installation beim installieren von Pillow abbricht ?
Zum Thema - venv richtig nutzen- habe ich 6 Beiträge gefunden
Wenn Du bei der Suche "Alles" wählst, kommen
531 Ergebnisse für „venv“
Und einer der jüngeren Threads dazu ist zufällig am letzten Freitag von mir gestartet worden: Python Module, externally-managed-environment, venv, pip, uv
Nur als Beispiel...
Danke für deine Mühe.
Ich könnte auch nach python suchen und bekomme auch viele Ergebnisse, wenn ich aber nicht weiß, was ich im Detail brauche, ist es sehr schwierig, weil es keine klare Fehlermeldung gibt.
Das Ergebnis ist wie wenn ich einen platten Reifen habe und nach Reifen suche, da finde ich auch ganz viel und irgendwo wird sicherlich auch stehen wie man einen Reifen flickt, nur ob man die Nadel im Heuhaufen findet ?
Grade den erste Post, den du als Hilfe nennst, erzeugt bei mir mehr ??? als Antworten.
Nochmehr ??? wenn du mir sagst, da steht die Lösung drin.
Da steht ja drin, dass das was ich gemacht habe eigentlich richtig ist (bis auf das Sudo was mir aber auch an anderer stelle nicht aufgefallen ist und hier dadurch auch nicht) und sollte funktionieren auch wenn es alternativen gibt.
Kannst du mir sagen was ich in dem zitiertem Post übersehen habe und die helfende Information ist ?
dann versucht über eine venv:
fotobox@pibooth:~ $ python3 -m venv pibooth
fotobox@pibooth:~ $ source pibooth/bin/activate (pibooth)
fotobox@pibooth:~ $ sudo pip3 install pibooth[dslr,printer]
Finde den Fehler und klick da auch mal drauf!
Danke für den Hinweis.
Das hatte ich zwischendurch auch vermutet, da es zu dem gleichen Fehler, wie oben bereits als 2. Code gepostet, führt hatte ich es nicht nochmal gepostet:
pip3 install pibooth[dslr,printer]
Collecting pibooth[dslr,printer]
Downloading pibooth-2.0.8-py3-none-any.whl.metadata (6.4 kB)
Collecting Pillow==9.2.0 (from pibooth[dslr,printer])
Downloading Pillow-9.2.0.tar.gz (50.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 MB ? eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
Traceback (most recent call last):
File "/home/fotobox/pibooth/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/home/fotobox/pibooth/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fotobox/pibooth/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requi res_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-j3qhx_hw/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wh eel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-j3qhx_hw/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-j3qhx_hw/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-j3qhx_hw/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 29, in <module>
File "<string>", line 26, in get_version
KeyError: '__version__'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Display More
Ja ich habe Trixi genommen.
Ich bin halt kein tiefgreifender Entwickler, vielleicht fällt es mir daher schwer die richtige frage zu stellen.
Die Anleitungen die ich gefunden habe, habe ich umgesetzt ohne erfolg. (s.o.)
Jetzt weiß ich nicht, wie mir deine Antwort helfen kann.
Zum Thema - venv richtig nutzen- habe ich 6 Beiträge gefunden und aus keinem konnte ich eine Hilfe ziehen
Moin,
leider bekomme ich die Installation von PiBooth nicht hin.
ich habe es nach dieser Anleitung versucht: https://documentation.pibooth.org/en/stable/sour…anual-procedure
Bis zum Schritt 8 geht alles, bis das pypi Repository installiert werden soll
sudo pip3 install pibooth[dslr,printer]
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Display More
alternativ habe ich versucht, da eh nichts anderes auf dem System gemacht werden soll:
fotobox@pibooth:~ $ sudo pip3 install pibooth[dslr,printer] --break-system-packages
Collecting pibooth[dslr,printer]
Using cached pibooth-2.0.8-py3-none-any.whl.metadata (6.4 kB)
Collecting Pillow==9.2.0 (from pibooth[dslr,printer])
Using cached Pillow-9.2.0.tar.gz (50.0 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
exec(compile('''
~~~~^^^^^^^^^^^^
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<32 lines>...
exec(compile(setup_py_code, filename, "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
''' % ('/tmp/pip-install-61iymd3r/pillow_76f3e3aae86a451d951ee3a8b2a66fc5/setup.py',), "<pip-setuptools-caller>", "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<pip-setuptools-caller>", line 35, in <module>
File "/tmp/pip-install-61iymd3r/pillow_76f3e3aae86a451d951ee3a8b2a66fc5/setup.py", line 29, in <module>
PILLOW_VERSION = get_version()
File "/tmp/pip-install-61iymd3r/pillow_76f3e3aae86a451d951ee3a8b2a66fc5/setup.py", line 26, in get_version
return locals()["__version__"]
~~~~~~~~^^^^^^^^^^^^^^^
KeyError: '__version__'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Display More
dann versucht über eine venv:
fotobox@pibooth:~ $ python3 -m venv pibooth
fotobox@pibooth:~ $ source pibooth/bin/activate
(pibooth) fotobox@pibooth:~ $ sudo pip3 install pibooth[dslr,printer]
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Display More
Diese Geschichte mit den venv nerven mittlerweile richtig.
Überall gehen die Programme nicht mehr , lassen sich nicht mehr vernünftig isntallieren. Für reine Entwicklungsumgebungen ist das vielleicht hilfreich, aber für Arbeitsmaschinen auf denen nicht entwickelt gibt es nur Probleme damit.
Hat einer eine Idee, wie man das Problem gelöst bekommt?
sorry, zu spät gesehen.
Er schien wohl immer noch irgendwas zu machen mittlerweile ist die Performance ok
Danke für den Hinweis.
Er hing jetzt die ganze Zeit am Strom, also ich würde sagen 20 Minuten. Habe ihn vom Strom, getrennt und neu gestartet, vor ungefähr 4 Minuten.
Jetzt läuft der Lüfter dauerhaft, im Netz ist er aber trotzdem nicht
Update:
direkt nach dem Absenden ging der Lüfter aus, im Netz hat sich nichts geändert
Update 2
Nach weiteren 20 Minuten hat er jetzt eine IP und ist erreichbar, aber Meeeega langsam. 1-2 Minuten Response auf einen SSH Befehl
Mein ich habe bereits mehrere Versuche gestartet mit unterschiedlichen SD Karten eine SD Karte für den RPi5 zu erstellen.
Das Ergebnis sieht so aus
Soweit sieht alles fein aus. Lege ich die SD Karte ein scheint er auch zu starten.
Es scheint aber weder eine LAN noch eine WLAN Verbindung aufzubauen, so dass keine IP Adresse ermittelbar ist.
Ein Versuch mit Putty über den Hostname schlägt ebenfalls fehl.
Woran kann das liegen ?
hmm
Wenn ich es richtig verstanden habe prüft er jetzt alle 0,5 Sekunden ind er Pattern Tabelle, ob es da für eine Zeile eine Änderung gibt.
Das würde bedeuten, dass aus
Pattern("FL", 7.5, [(ON, 0.7), (OFF, 6.8)]),
tatsächlich
0,5 Sekunden On und 7 Sekunden Off wird ( ist kein Problem )
Aber die Zuordnung von Folge zu PIN, die habe ich noch nicht verstanden