pyhss
pyhss copied to clipboard
pysctp module does not install in python3
I'm using python3 but once trying to install pysctp module it gives me the following error:
% pip3 install pysctp Defaulting to user installation because normal site-packages is not writeable Collecting pysctp Using cached pysctp-0.7.2.tar.gz (32 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: pysctp Building wheel for pysctp (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [15 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-universal2-3.9 copying sctp.py -> build/lib.macosx-10.9-universal2-3.9 running build_ext building '_sctp' extension creating build/temp.macosx-10.9-universal2-3.9 clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Wno-error=unreachable-code -I. -I/usr/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9 -c _sctp.c -o build/temp.macosx-10.9-universal2-3.9/_sctp.o _sctp.c:27:10: fatal error: 'netinet/sctp.h' file not found #include <netinet/sctp.h> ^~~~~~~~~~~~~~~~ 1 error generated. error: command '/usr/bin/clang' 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 pysctp Running setup.py clean for pysctp Failed to build pysctp ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pysctp)
Is this something to do with pysctp module?