Closed Delta06450 closed 4 months ago
Try sudo python --version
Looks to me like v2.7 is the default for root user
On Tue, Jun 25, 2024, 03:35 Delta06450 @.***> wrote:
Hi John, I get an error during installation, could it be an X64 architecture problem? if you have a solution I'm interested ;) Thank you in advance
RADXA ROCK 4C+ BULLSEYE https://radxa.com/products/rock4/4cp/
@.***:~$ sudo pip install mppsolar[systemd] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at pip 21.0 will remove support for this functionality. ERROR: Could not find a version that satisfies the requirement mppsolar[systemd] (from versions: none) ERROR: No matching distribution found for mppsolar[systemd]
@.***:~$ arch aarch64
@.***:~$ python3.10 --version Python 3.10.0
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/498, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNQXABTDEZPGZEA7CM3ZJA4CVAVCNFSM6AAAAABJ2CIDMOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TANJUHA4DOMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Essayez
sudo python --version
Il me semble que la v2.7 est la valeur par défaut pour l'utilisateur root … Le mardi 25 juin 2024, 03h35 Delta06450 @.> a écrit : Salut John, j'obtiens une erreur lors de l'installation, pourrait-il s'agir d'un problème d'architecture X64 ? si vous avez une solution, je suis intéressé ;) Merci d'avance RADXA ROCK 4C+ BULLSEYE < https://radxa.com/products/rock4/4cp/> @.:~ $ sudo pip install mppsolar[systemd] DÉPRÉCATION : Python 2.7 a atteint la fin de sa vie le 1er janvier 2020. Veuillez mettre à niveau votre Python car Python 2.7 n'est plus maintenu. pip 21.0 supprimera la prise en charge de Python 2.7 en janvier 2021. Plus de détails sur la prise en charge de Python 2 dans pip peuvent être trouvés sur pip 21.0 supprimera la prise en charge de cette fonctionnalité. ERREUR : Impossible de trouver une version qui satisfait à l'exigence mppsolar[systemd] (à partir des versions : aucune) ERREUR : Aucune distribution correspondante trouvée pour mppsolar[systemd] @.*:~$ arch aarch64 @.*:~$ python3.10 --version Python 3.10.0 — Répondez directement à cet e-mail, consultez-le sur GitHub < #498 > ou désabonnez-vous < https://github.com/notifications /désabonnement-auth/AAJVKNQXABTDEZPGZEA7CM3ZJA4CVAVCNFSM6AAAAABJ2CIDMOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TANJUHA4DOMA > . Vous recevez ce message car vous êtes abonné à ce fil de discussion.ID du message : @.***>
thank you for your speed...
pi@rock-4c-plus:~$ python --version Python 2.7.18 pi@rock-4c-plus:~$ sudo python --version [sudo] password for pi: Python 2.7.18
There is tool called pyenv
that helps manage python environments, it may
help - though you need to be careful if you system is expecting v2.7 for
some reason
I run my install as a non root user, just have to sort the device
permissions if using hidraw devices
On Tue, Jun 25, 2024, 06:35 TheCat @.***> wrote:
thank you for your speed...
@.:$ python --version Python 2.7.18 @.:$ sudo python --version [sudo] password for pi: Python 2.7.18
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/498#issuecomment-2187173980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNUZ7DQHVQADUR6MALDZJBRFRAVCNFSM6AAAAABJ2CIDMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXGE3TGOJYGA . You are receiving this because you commented.Message ID: @.***>
Il existe un outil appelé « pyenv » qui aide à gérer les environnements Python, cela peut aider - même si vous devez être prudent si votre système attend la version 2.7 pour une raison quelconque, j'exécute mon installation en tant qu'utilisateur non root, il suffit de trier le périphérique autorisations si vous utilisez des appareils hidraw … On Tue, Jun 25, 2024, 06:35 TheCat @.> wrote: thank you for your speed... @.:$ python --version Python 2.7.18 @.:$ sudo python --version [sudo] password for pi: Python 2.7.18 — Reply to this email directly, view it on GitHub <#498 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNUZ7DQHVQADUR6MALDZJBRFRAVCNFSM6AAAAABJ2CIDMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXGE3TGOJYGA . You are receiving this because you commented.Message ID: @.>
ok, thank you very much for your help ;)
Hi John, I get an error during installation, could it be an X64 architecture problem? if you have a solution I'm interested ;) Thank you in advance
RADXA ROCK 4C+ BULLSEYE
pi@rock-4c-plus:~$ sudo pip install mppsolar[systemd] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at ) pip 21.0 will remove support for this functionality. ERROR: Could not find a version that satisfies the requirement mppsolar[systemd] (from versions: none) ERROR: No matching distribution found for mppsolar[systemd]
pi@rock-4c-plus:~$ arch aarch64
pi@rock-4c-plus:~$ python3.10 --version Python 3.10.0