hugo_encryptor icon indicating copy to clipboard operation
hugo_encryptor copied to clipboard

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

Open waynia opened this issue 3 years ago • 1 comments

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!

waynia avatar Dec 23 '21 05:12 waynia

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

zerofancy avatar Feb 11 '23 18:02 zerofancy