ct-Open-Source / ct-Open-Source/tuya-convert

start_flash.sh fails with "ImportError: No module named 'Cryptodome'

Open
#981 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5.1k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

Here's the output - any ideas?

```
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
Traceback (most recent call last):
File "./smartconfig/main.py", line 15, in
from smartconfig import smartconfig
File "/home/openhabian/tuya-convert/scripts/smartconfig/smartconfig.py", line 43, in
from multicast import multicast_head, encode_multicast_body
File "/home/openhabian/tuya-convert/scripts/smartconfig/multicast.py", line 12, in
from Cryptodome.Cipher import AES
ImportError: No module named 'Cryptodome'
........................................................................................................................
Timed out while waiting for the device to (re)connect
```

I've tried "pip install pycryptodome" but that didn't resolve it. Also tried "pip install pycryptodomex" also with no success.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.