Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pysctp module does not install in python3 #200

Open
AmarisKome opened this issue Aug 9, 2024 · 0 comments
Open

pysctp module does not install in python3 #200

AmarisKome opened this issue Aug 9, 2024 · 0 comments

Comments

@AmarisKome
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant