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

pip install fails when using python 3.11 #175

Open
ansiblejunky opened this issue Mar 30, 2024 · 0 comments
Open

pip install fails when using python 3.11 #175

ansiblejunky opened this issue Mar 30, 2024 · 0 comments

Comments

@ansiblejunky
Copy link

Trying to pip install fake-switches with Python 3.11.x and its failing with the dependency of Twisted with error:

      clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/xxx/.pyenv/versions/dev/include -I/Users/xxx/.pyenv/versions/3.11.4/include/python3.11 -c src/twisted/test/raiser.c -o build/temp.macosx-13.4-arm64-cpython-311/src/twisted/test/raiser.o
      src/twisted/test/raiser.c:49:12: fatal error: 'longintrepr.h' file not found
        #include "longintrepr.h"
                 ^~~~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
pip --version
pip 24.0 
python --version
Python 3.11.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant