sagemath / cysignals

cysignals: interrupt and signal handling for Cython. Source repository for https://pypi.org/project/cysignals/
GNU Lesser General Public License v3.0
44 stars 23 forks source link

Can install cysignals over pip #119

Closed nikolamilosevic86 closed 3 years ago

nikolamilosevic86 commented 4 years ago

I am on Windows 10 and Python 3.7 trying to install, and I am getting the following output:

> ERROR: Command errored out with exit status 1:
>    command: 'C:\Users\GLJET\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\GLJET\\AppData\\Local\\Temp\\pip-install-qfddz1vf\\cysignals\\setup.py'"'"'; __file__='"'"'C:\\Users\\GLJET\\AppData\\Local\\Temp\\pip-install-qfddz1vf\\cysignals\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\GLJET\AppData\Local\Temp\pip-wheel-j8trhkbw' --python-tag cp37
>        cwd: C:\Users\GLJET\AppData\Local\Temp\pip-install-qfddz1vf\cysignals\
>   Complete output (3 lines):
>   running bdist_wheel
>   running build
>   error: [WinError 2] The system cannot find the file specified
>   ----------------------------------------
>   ERROR: Failed building wheel for cysignals
>   Running setup.py clean for cysignals
> Failed to build cysignals
> Installing collected packages: cysignals
>   Running setup.py install for cysignals ... error
>     ERROR: Command errored out with exit status 1:
>      command: 'C:\Users\GLJET\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\GLJET\\AppData\\Local\\Temp\\pip-install-qfddz1vf\\cysignals\\setup.py'"'"'; __file__='"'"'C:\\Users\\GLJET\\AppData\\Local\\Temp\\pip-install-qfddz1vf\\cysignals\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\GLJET\AppData\Local\Temp\pip-record-suneefkf\install-record.txt' --single-version-externally-managed --compile
>          cwd: C:\Users\GLJET\AppData\Local\Temp\pip-install-qfddz1vf\cysignals\
>     Complete output (3 lines):
>     running install
>     running build
>     error: [WinError 2] The system cannot find the file specified
>     ----------------------------------------
> ERROR: Command errored out with exit status 1: 'C:\Users\GLJET\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\GLJET\\AppData\\Local\\Temp\\pip-install-qfddz1vf\\cysignals\\setup.py'"'"'; __file__='"'"'C:\\Users\\GLJET\\AppData\\Local\\Temp\\pip-install-qfddz1vf\\cysignals\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\GLJET\AppData\Local\Temp\pip-record-suneefkf\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output

Can you advise?

kasperdokter commented 4 years ago

I have the same problem.

makusu720 commented 4 years ago

same problem

wuzirui commented 4 years ago

same problem

embray commented 3 years ago

Cysignals does not work yet natively on Windows. It does work under Cygwin. This is tracked at #104.