Python with error odl.py:2: SyntaxWarning: invalid escape sequence '\A' and missing Crypto library
Python is complaining about 2 things:
-
Invalid escape sequence \A %userprofile%\Downloads\odl.py:2: SyntaxWarning: invalid escape sequence '\A' """
-
No lib Crypto Traceback (most recent call last): File "%useprofile%\Downloads\odl.py", line 53, in
from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'
Iusing Oficial Python, not the Microsoft python in the store. Ive tested with Microsoft Store python version and the result is the same.
Sounds like the dependencies are not met. Did you install construct and pycryptodome?
Oh, my mistake, I didn`t installed pycryptodome.
But after doing it, the first error is shown as a SyntaxWarning: %userprofile%\Downloads\odl.py:2: SyntaxWarning: invalid escape sequence '\A' """
A requirements.txt file has now been added to specify the required modules. Also fixed the syntax warning for python 3.12