-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Python version 3.9.13. Windows 10 and 11,
When running pip install tt, I get the following error:
# more above
tt\cross\rectcross\rect_maxvol\cython_boost\maxvol.pyx:225:13: Cannot assign type 'double' to 'int'
Error compiling Cython file:
------------------------------------------------------------
...
tmp = abs(coef[k])
if tmp > abs_max:
abs_max = tmp
j = k
max_value = coef[j]
i = j/N
^
------------------------------------------------------------
tt\cross\rectcross\rect_maxvol\cython_boost\maxvol.pyx:356:13: Cannot assign type 'double' to 'int'
Error compiling Cython file:
------------------------------------------------------------
...
tmp = abs(coef[k])
if tmp > abs_max:
abs_max = tmp
j = k
max_value = coef[j]
i = j/N
^
------------------------------------------------------------
tt\cross\rectcross\rect_maxvol\cython_boost\maxvol.pyx:487:13: Cannot assign type 'double' to 'int'
Error compiling Cython file:
------------------------------------------------------------
...
tmp = abs(coef[k])
if tmp > abs_max:
abs_max = tmp
j = k
max_value = coef[j]
i = j/N
^
------------------------------------------------------------
tt\cross\rectcross\rect_maxvol\cython_boost\maxvol.pyx:618:13: Cannot assign type 'double' to 'int'
error: 4 errors while compiling 'tt\\cross\\rectcross\\rect_maxvol\\cython_boost\\maxvol.pyx' with Cython
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tt
Running setup.py clean for tt
Failed to build tt
ERROR: Could not build wheels for tt, which is required to install pyproject.toml-based projects
Metadata
Metadata
Assignees
Labels
No labels