mhaskar / Octopus

Open source pre-operation C2 server based on python and powershell
GNU General Public License v3.0
733 stars 155 forks source link

Error during install #29

Open Niubbo75 opened 1 year ago

Niubbo75 commented 1 year ago

Hi, I got this error after running sudo pip install -r requirements.txt: `checking for GNU libc compatible malloc... yes checking for memmove... yes checking for memset... yes configure: creating ./config.status config.status: creating src/config.h 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: File o directory non esistente 33 | #include / for conversions / | ^~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-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`

I'm running Kali Linux (kali-rolling) full upgraded, I have also installed nasm mingw-w64 and mono-devel. Any hint will be very appreciate, thanks!