Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Error #30

Open
AYoub-H opened this issue Jun 12, 2020 · 1 comment
Open

Import Error #30

AYoub-H opened this issue Jun 12, 2020 · 1 comment

Comments

@AYoub-H
Copy link

AYoub-H commented Jun 12, 2020

Hello,
I want to use this code, but I'm facing three errors:

  • when I try to execute __init__.py, I get this error :
from .aes import AES, AESModeOfOperationCTR, AESModeOfOperationCBC, AESModeOfOperationCFB, AESModeOfOperationECB, AESModeOfOperationOFB, AESModesOfOperation, Counter
ModuleNotFoundError: No module named '__main__.aes'; '__main__' is not a package 
  • when I try to execute test-aes.py, I get this error:
from pyaes import *
ModuleNotFoundError: No module named 'pyaes'
  • Also if you can tell me how can I import an image in this code.
    Can anyone help me to fix these errors, I'm working on image encryption using AES.
    PS: I need it for my education purpose.
@nate-moo
Copy link

stupid question but is pyaes installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants