cckuailong / py2sec

:snake: py2sec is a Cross-Platform, Fast and Flexible tool to change the .py to .so(Linux and Mac) or .pyd(Win).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: command 'cl.exe' failed: None

WilliamQue opened this issue · comments

Environment: win10 + python3.9
Visual studio build tools:
(1) MSVC v143 - VS 2002 C++ x64/x86 build tools(lastest)
(2) Windows 10 SDK (10.0.20348.0)

I put py2sec.py in f:\py and all py files in f:\py\main, then run command

f:\py > python py2sec.py -d main -r

and Error reports

(spd39) F:\py>python py2sec.py -d main\ -r
Active code page: 65001
Compiling main\sa\init.py because it changed.
[1/1] Cythonizing main\sa\init.py
running build_ext
building 'main.sa.init' extension
creating build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release
creating build\temp.win-amd64-cpython-39\Release\tmp_build
creating build\temp.win-amd64-cpython-39\Release\tmp_build\main
creating build\temp.win-amd64-cpython-39\Release\tmp_build\main\sa
cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Id:\miniconda3\envs\spd39\include -Id:\miniconda3\envs\spd39\Include /Tctmp_build\main\sa\init.c /Fobuild\temp.win-amd64-cpython-39\Release\tmp_build\main\sa\init.obj
error: command 'cl.exe' failed: None

Py2Sec Encrypt Encounter Error

I don't know what's wrong , please give some suggestions.