Merci Deufo pour l'info.
La version lite demande plusieurs installations et bloque avec rust.
Je n'ai pas compris comment résoudre ce souci.
Pour le moment, avec l'installation en desktop , une simple installation de python-dev et le plugin s'est installer sans problème.
Comment on fais pour avoir ce compilateur rust ?
[Résolu] Problème installation du plugin
Re: Probleme installation du plugin
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Re: Probleme installation du plugin
J'ai regardé mon historique :
Le site : https://www.rust-lang.org/tools/install
Code : Tout sélectionner
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup updateRe: Probleme installation du plugin
Merci Deufo
Je test ça demain
Je test ça demain
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Re: Probleme installation du plugin
Bonsoir,
l'installation de rustup c'est passé.
Visiblement j'ai du louper quelque chose
pip install --upgrade pip
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh (avec installation des path)
rustup update
sudo reboot
cd domoticz/plugins/Domoticz-Zigbee/
sudo pip3 install -r requirements.txt
ça serait pas plus simple de passer d'une version desktop vers une lite
Merci Deufo pour avoir essayer de m'aider.
l'installation de rustup c'est passé.
Code : Tout sélectionner
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.9.2
platform: Linux-5.15.84-v7+-armv7l-with-glibc2.31
pip: n/a
setuptools: 67.3.2
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.48.0.
----------------------------------------
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ pip --version
pip 23.0 from /home/pi/.local/lib/python3.9/site-packages/pip (python 3.9)
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ rustc --version
rustc 1.67.1 (d5a82bbd2 2023-02-07)
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $
pip install --upgrade pip
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh (avec installation des path)
rustup update
sudo reboot
cd domoticz/plugins/Domoticz-Zigbee/
sudo pip3 install -r requirements.txt
ça serait pas plus simple de passer d'une version desktop vers une lite
Merci Deufo pour avoir essayer de m'aider.
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Re: Probleme installation du plugin
Tout bête mais ça installe rust pour l'utilisateur courant, si tu essayes un sudo rustc --version ?
Re: Probleme installation du plugin
J'avais juste lancé un :
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ rustc --version
rustc 1.67.1 (d5a82bbd2 2023-02-07)
Je n'ai pas testé avec le sudo...
Étant incapable d'y arriver, je suis revenu à la version desktop, et j'ai désinstaller gnom, browser internet et vlc.
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ rustc --version
rustc 1.67.1 (d5a82bbd2 2023-02-07)
Je n'ai pas testé avec le sudo...
Étant incapable d'y arriver, je suis revenu à la version desktop, et j'ai désinstaller gnom, browser internet et vlc.
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones