Skip to content

Error when importing PyL530 #27

@zedenzn

Description

@zedenzn

Hi, when i try run the commands for the L530 bulb ('from PyP100 import PyL530'), I get the error as seen below:
└─$ python3
Python 3.11.8 (main, Feb 7 2024, 21:52:08) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from PyP100 import PyL530
Traceback (most recent call last):
File "", line 1, in
File "/home/zeenat/.local/lib/python3.11/site-packages/PyP100/PyL530.py", line 1, in
from PyP100 import PyP100
File "/home/zeenat/.local/lib/python3.11/site-packages/PyP100/PyP100.py", line 9, in
from Crypto.Cipher import AES, PKCS1_OAEP, PKCS1_v1_5
File "/home/zeenat/.local/lib/python3.11/site-packages/Crypto/Cipher/init.py", line 33, in
from Crypto.Cipher._mode_ccm import _create_ccm_cipher
File "/home/zeenat/.local/lib/python3.11/site-packages/Crypto/Cipher/_mode_ccm.py", line 47, in
from Crypto.Hash import BLAKE2s
ImportError: cannot import name 'BLAKE2s' from 'Crypto.Hash' (/home/zeenat/.local/lib/python3.11/site-packages/Crypto/Hash/init.py)

I have ran the command 'pip install PyP100'

is there any help for this?

error in plug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions