-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Hello. I try to install it on a Mac mini with M2 and there is an issue due to your definition of dependency to cryptography
I run just pip install appstoreconnect, and get this:
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [142 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13-arm64-cpython-39
creating build/lib.macosx-13-arm64-cpython-39/cryptography
[...]
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.macosx-13-arm64-cpython-39/_padding.c'
creating build/temp.macosx-13-arm64-cpython-39
generating cffi module 'build/temp.macosx-13-arm64-cpython-39/_constant_time.c'
generating cffi module 'build/temp.macosx-13-arm64-cpython-39/_openssl.c'
building '_openssl' extension
creating build/temp.macosx-13-arm64-cpython-39/build
creating build/temp.macosx-13-arm64-cpython-39/build/temp.macosx-13-arm64-cpython-39
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c build/temp.macosx-13-arm64-cpython-39/_openssl.c -o build/temp.macosx-13-arm64-cpython-39/build/temp.macosx-13-arm64-cpython-39/_openssl.o -Wconversion -Wno-error=sign-conversion
build/temp.macosx-13-arm64-cpython-39/_openssl.c:575:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.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 cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
When it comes to my env:
pip --version
pip 23.1.2 from /opt/homebrew/lib/python3.9/site-packages/pip (python 3.9)Metadata
Metadata
Assignees
Labels
No labels