tuya-convert ModuleNotFoundError: No module named 'Cryptodome' beheben
English
Deutsch
Problem:
Beim Versuch, ein Gerät mit tuya-convert zu flashen, sehen Sie eine Fehlermeldung wie
example-2.txt
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
Traceback (most recent call last):
File "/home/pi/tuya-convert/scripts/./smartconfig/main.py", line 15, in <module>
from smartconfig import smartconfig
File "/home/pi/tuya-convert/scripts/smartconfig/smartconfig.py", line 43, in <module>
from multicast import multicast_head, encode_multicast_body
File "/home/pi/tuya-convert/scripts/smartconfig/multicast.py", line 12, in <module>
from Cryptodome.Cipher import AES
ModuleNotFoundError: No module named 'Cryptodome'
.........................................und der Flash-Vorgang schlägt fehl.
Lösung
Die aktuelle Version von ./install_reqs.sh installiert das pycryptodome-Modul nicht. Installieren Sie es manuell mit
example-1.sh
Check out similar posts by category:
Electronics, Embedded
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow