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

Error when using Xxtea (CompileError) #12

Open
IlluminatiWave opened this issue Jan 6, 2024 · 0 comments
Open

Error when using Xxtea (CompileError) #12

IlluminatiWave opened this issue Jan 6, 2024 · 0 comments

Comments

@IlluminatiWave
Copy link

Modules
Python 3.10.11
cffi==1.15.1
cryptography==41.0.2
pip-review==1.3.0
xxtea-py==1.0.3

Visual Studio Build Tools 2022 = 17,8,3

Example code
import xxtea
text = "Hello World! 你好,中国!"
key = "1234567890"
encrypt_data = xxtea.encrypt(text, key)
decrypt_data = xxtea.decrypt_utf8(encrypt_data, key)
print(text == decrypt_data);

CompileError: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe' failed with exit code 1
distutils.errors.DistutilsExecError: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe' failed with exit code 1

During handling of the above exception, another exception occurred:

distutils.errors.CompileError: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe' failed with exit code 1

During handling of the above exception, another exception occurred:

File "D:\Code\xt.py", line 1, in
import xxtea
cffi.VerificationError: CompileError: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe' failed with exit code 1

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

1 participant