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

SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats #24

Open
waynia opened this issue Dec 23, 2021 · 1 comment
Open

Comments

@waynia
Copy link

waynia commented Dec 23, 2021

Hello, when I used your package to encrypt my hugo blog, the console threw out an error that wrote "SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats". I found that this may be related to the version of Python. Is there any way to patch this ?

Thanks!

@zerofancy
Copy link

You may replace pycrypto with pycryptodome in requirements.txt.
https://stackoverflow.com/questions/70705404/systemerror-py-ssize-t-clean-macro-must-be-defined-for-formats

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