Page 2 sur 2
Re: Probleme installation du plugin
Publié : 14 févr. 2023, 17:24
par Bibi49
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 ?
Re: Probleme installation du plugin
Publié : 15 févr. 2023, 14:55
par Deufo
J'ai regardé mon historique :
Code : Tout sélectionner
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update
Le site :
https://www.rust-lang.org/tools/install
Re: Probleme installation du plugin
Publié : 15 févr. 2023, 16:52
par Bibi49
Merci Deufo
Je test ça demain

Re: Probleme installation du plugin
Publié : 16 févr. 2023, 21:07
par Bibi49
Bonsoir,
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 $
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.
Re: Probleme installation du plugin
Publié : 18 févr. 2023, 17:57
par Deufo
Tout bête mais ça installe rust pour l'utilisateur courant, si tu essayes un sudo rustc --version ?
Re: Probleme installation du plugin
Publié : 18 févr. 2023, 18:40
par Bibi49
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.
