-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Windows cython build fails with error below, any idea what to do here?
Thanks!
Tobi
building 'madmom.ml.nn.layers' extension
creating build\temp.win-amd64-cpython-310\Release\madmom\ml\nn
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IF:\tobi\envs\CartPoleSimulation3\lib\sit
e-packages\numpy\core\include -IF:\tobi\envs\CartPoleSimulation3\include -IF:\tobi\envs\CartPoleSimulation3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14
.27.29110\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\P
rogram Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\u
m" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcmadmom/ml/nn/layers.c /Fobuild\temp.win-amd64-cp
ython-310\Release\madmom/ml/nn/layers.obj
layers.c
F:\tobi\envs\CartPoleSimulation3\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_A
PI NPY_1_7_API_VERSION
madmom/ml/nn/layers.c(17126): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
madmom/ml/nn/layers.c(17142): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
madmom/ml/nn/layers.c(17426): warning C4020: 'function through pointer': too many actual parameters
madmom/ml/nn/layers.c(17923): warning C4293: '<<': shift count negative or too big, undefined behavior
madmom/ml/nn/layers.c(17933): warning C4293: '<<': shift count negative or too big, undefined behavior
madmom/ml/nn/layers.c(17943): warning C4293: '<<': shift count negative or too big, undefined behavior
madmom/ml/nn/layers.c(18807): error C2039: 'exc_type': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18808): error C2039: 'exc_value': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18809): error C2039: 'exc_traceback': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18816): error C2039: 'exc_type': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18817): error C2039: 'exc_value': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18818): error C2039: 'exc_traceback': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18819): error C2039: 'exc_type': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18820): error C2039: 'exc_value': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18821): error C2039: 'exc_traceback': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18880): error C2039: 'exc_value': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(18881): error C2039: 'exc_traceback': is not a member of '_ts'
F:\tobi\envs\CartPoleSimulation3\include\cpython/pystate.h(60): note: see declaration of '_ts'
madmom/ml/nn/layers.c(19872): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
madmom/ml/nn/layers.c(19878): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.27.29110\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Metadata
Metadata
Assignees
Labels
No labels