Issue installing on Apple M1
See original GitHub issueI’m trying to install Cartography on a Mac that has an Apple M1 chip, and haven’t had much luck. When I do:
pip3 install cartography
It fails with:
Failed to build cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
Earlier in the output I see:
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.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -I/usr/local/opt/openssl@1.1/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c build/temp.macosx-10.14-arm64-3.8/_openssl.c -o build/temp.macosx-10.14-arm64-3.8/build/temp.macosx-10.14-arm64-3.8/_openssl.o -Wconversion -Wno-error=sign-conversion
build/temp.macosx-10.14-arm64-3.8/_openssl.c:575:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
Has anyone managed to get this running on a Mac with arm64 platform?
Note: I’ve already upgraded pip
to the latest version.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >What to do if your Ventura update is stuck - Macworld
For M1/M2 Macs: To access Safe Mode press and hold the power button until you see the startup options appear > Choose your...
Read more >Apple Provides Instructions to Fix macOS Reinstallation Errors ...
If you erased your Mac with Apple M1 chip before updating to macOS Big Sur 11.0.1, you might be unable to reinstall macOS...
Read more >Can't install macOS Ventura Problems Mac, M1 MacBook Fixed
Here's why can't install macOS 13.1. Fix macOS Ventura Update Failed or An error occurred installing macOS Ventura on Macbook, Mac, iMac.
Read more >How to fix “pod install” error in React Native on Mac M1
A quick Google search reveals that the problem may lie in the architecture of the novel Apple M1 Pro processor, but there's no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in #879!
Neo4j now has some pre-release docker images for ARM, including neo4j 3.5. And I’ve verified with my team that they do work with Apple M1. https://hub.docker.com/r/neo4j/neo4j-arm64-experimental/tags