I have problems installing a python package traj-dist
https://github.com/bguillouet/traj-dist which uses Cython
. It can be installed in Linux after comipling using gcc, but cannot in winodws using mingw64 gcc.
I use Python 3.8, Cython 0.29.21.
python setup.py build_ext --inplace --force
The full output error message is HERE
Error compiling Cython file:
------------------------------------------------------------
...
q=len(Q)
cc=_compute_critical_values(P,Q,p,q)
eps=cc[0]
while(len(cc)!=1):
m_i=len(cc)/2-1
^
------------------------------------------------------------
traj_dist\cydist\frechet.pyx:535:21: Cannot assign type 'double' to 'int'
The file that has compiling error is https://github.com/bguillouet/traj-dist/blob/master/traj_dist/cydist/frechet.pyx
How can I compile it in windows?