You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install slipcover with pip 22.3.1 and Python 3.11.0 gives an error with the following output:
$ pip3.11 install slipcover
Collecting slipcover
Using cached slipcover-0.2.0.tar.gz (28 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: tabulate in /usr/local/lib/python3.11/site-packages (from slipcover) (0.9.0)
Building wheels for collected packages: slipcover
Building wheel for slipcover (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-cpython-311
creating build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/slipcover.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/branch.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/bytecode.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/__main__.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
running build_ext
building 'slipcover.tracker' extension
creating build/temp.macosx-11-x86_64-cpython-311
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c tracker.cxx -o build/temp.macosx-11-x86_64-cpython-311/tracker.o -std=c++17 -arch x86_64 -arch arm64 -arch arm64e
**tracker.cxx:4:10: fatal error: 'pyptr.h' file not found
#include "pyptr.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 slipcover
Running setup.py clean for slipcover
Failed to build slipcover
Installing collected packages: slipcover
Running setup.py install for slipcover ... error
error: subprocess-exited-with-error
× Running setup.py install for slipcover did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running install
/usr/local/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-cpython-311
creating build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/slipcover.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/__init__.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/branch.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/bytecode.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
copying slipcover/__main__.py -> build/lib.macosx-11-x86_64-cpython-311/slipcover
running build_ext
building 'slipcover.tracker' extension
creating build/temp.macosx-11-x86_64-cpython-311
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c tracker.cxx -o build/temp.macosx-11-x86_64-cpython-311/tracker.o -std=c++17 -arch x86_64 -arch arm64 -arch arm64e
**tracker.cxx:4:10: fatal error: 'pyptr.h' file not found
#include "pyptr.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: legacy-install-failure
× Encountered error while trying to install package.
╰─> slipcover
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Looks to be an issue with the slipcover.tracker extension? I'm on macOS Big Sur 11.7.1 if that makes any difference. Let me know if I can provide any further information.
The text was updated successfully, but these errors were encountered:
Yea, I only found test issues (some are brittle and broke with all the changes in 3.11). The builds above should be good until we make "official" ones.
Hi,
Trying to install
slipcover
withpip 22.3.1
andPython 3.11.0
gives an error with the following output:Looks to be an issue with the slipcover.tracker extension? I'm on macOS Big Sur 11.7.1 if that makes any difference. Let me know if I can provide any further information.
The text was updated successfully, but these errors were encountered: