question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue installing on Apple M1

See original GitHub issue

I’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:closed
  • Created a year ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
achantavycommented, Jul 14, 2022

Fixed in #879!

0reactions
ramonpetgrave64commented, Jun 11, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found