Falldog / pyconcrete

Protect your python script, encrypt it as .pye and decrypt when import it
Apache License 2.0
702 stars 150 forks source link

windows anaconda4.4+python3.6 +vs2015 compile error? #16

Closed gxd1994 closed 7 years ago

gxd1994 commented 7 years ago

c:\programdata\anaconda3\include\pytime.h(151): error C2061: 语法错误: 标识符“_PyTime_GetMonotonicClock” c:\programdata\anaconda3\include\pytime.h(151): error C2059: 语法错误:“;” c:\programdata\anaconda3\include\pytime.h(151): error C2059: 语法错误:“” c:\programdata\anaconda3\include\pytime.h(167): error C2143: 语法错误: 缺少“)”(在“”的前面) c:\programdata\anaconda3\include\pytime.h(167): error C2143: 语法错误: 缺少“{”(在“”的前面) c:\programdata\anaconda3\include\pytime.h(168): error C2371: “_Py_clock_info_t”: 重定义;不同的基类型 c:\programdata\anaconda3\include\pytime.h(160): note: 参见“_Py_clock_info_t”的声明 c:\programdata\anaconda3\include\pytime.h(168): error C2143: 语法错误: 缺少“;”(在“”的前面) c:\programdata\anaconda3\include\pytime.h(168): error C2059: 语法错误:“)” c:\programdata\anaconda3\include\pytime.h(179): error C2143: 语法错误: 缺少“)”(在“”的前面) c:\programdata\anaconda3\include\pytime.h(179): error C2143: 语法错误: 缺少“{”(在“”的前面) c:\programdata\anaconda3\include\pytime.h(180): error C2371: “_Py_clock_info_t”: 重定义;不同的基类型 c:\programdata\anaconda3\include\pytime.h(160): note: 参见“_Py_clock_info_t”的声明 c:\programdata\anaconda3\include\pytime.h(180): error C2143: 语法错误: 缺少“;”(在“”的前面) c:\programdata\anaconda3\include\pytime.h(180): error C2059: 语法错误:“)” c:\programdata\anaconda3\include\pyhash.h(64): error C2061: 语法错误: 标识符“uint64_t” c:\programdata\anaconda3\include\pyhash.h(64): fatal error C1003: 错误计数超过 100;正在停止编译 error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

how to solve? thx

Falldog commented 7 years ago

I had update setup.py script, it should be fixed