Closed irajeshh closed 6 months ago
Does your code run or is this just a report by Pylance?
@Varbin No it doesnt allow to run the code
The code should be:
from Cryptodome.Cipher import AES
and not
from Cryptodome.Cipher.AES import AES
Am 1. Januar 2024 12:31:17 MEZ schrieb Rajesh @.***>:
@Varbin No it doesnt allow to run the code
![]()
-- Reply to this email directly or view it on GitHub: https://github.com/Legrandin/pycryptodome/issues/793#issuecomment-1873287187 You are receiving this because you were mentioned.
Message ID: @.***>
🥲 Pardon! I didn't expected this to end like this (😂). closing the issue.
"AES" is unknown import symbolPylance.![image](https://github.com/Legrandin/pycryptodome/assets/85046336/3bd2a677-e10d-43a0-b07d-389c3f7a0c12)
I tried to import AES, but the below error is showing.![image](https://github.com/Legrandin/pycryptodome/assets/85046336/df07b63b-2ea2-44c7-b997-d2832218546b)
I tried both Crypto & Cryptodome but none of them are having the definition _create_cipher. Also I tried to test importing DES..etc each file shows the same _create_cipher file error.
I'm completely new for python and not sure abt to install any extra support dependencies are to be included!
os: macOS 14.0 python: 3.12.0