3xp10it / xcdn

Try to find out the real ip behind cdn
335 stars 116 forks source link

longintrepr.h: No such file or directory #12

Open perfuctlife opened 4 months ago

perfuctlife commented 4 months ago

In file included from /usr/include/python3.11/Python.h:86, from src/_fastmath.c:31: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 208 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t tp, struct timespec ts); | ^~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 213 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec ts); | ^~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 217 | PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec ts); | ^~~~ src/_fastmath.c:33:10: fatal error: longintrepr.h: No such file or directory 33 | #include / for conversions / | ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycrypto Running setup.py clean for pycrypto
Failed to build pycrypto ERROR: Could not build wheels for pycrypto, which is required to install pyproject.toml-based projects
Traceback (most recent call last):
File "/home/ss/xcdn/xcdn.py", line 26, in from exp10it import figlet2file ModuleNotFoundError: No module named 'exp10it'

perfuctlife commented 4 months ago

this code was not supported after python3.11