Error: failed building wheel for pycryptodome PIP installation error solution
1. Questions
PIP install pycryptodome build wheel error error error stack display reference OpenSSL error
ERROR: Failed building wheel for pycryptodome
2. Solutions
# ①. install brew
# ②. install openssl@1
# ③ link to openssl
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"
3. Other collected information
For devices using apple silicon, you can try this (because the default homebrew bin directory is different)
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"
You can enter the view command yourself
brew info openssl
If you want to install an older version of cryptography (such as 2.9.x), you must link [email protected] instead of openssl@3
brew install openssl
will prompt you to export
Read More:
- [Solved] Win10 Install pyav Error: ERROR: Failed building wheel for avFailed to build av. ERROR: Could not build wheel
- ERROR: Failed building wheel for osgeo [How to Solve]
- About the solution of ERROR: Failed building wheel for dlib
- ERROR: Failed building wheel for mujoco-py [How to Solve]
- [Solved] ERROR: Failed building wheel for opencv-python-headless
- [Solved] Windows pycrypto Install Error: ERROR: Failed building wheel for pycrypto
- Opencv-python Install is Stuck Error: running setup.py bdist_wheel for opencv-python
- Failed to Create New Environment Error: Collecting package metadata (current_repodata.json): failed.
- [Solved] Pytorch Error: PytorchStreamReader failed reading zip archive failed finding central directory
- [Solved] Pytorch Error: PytorchStreamReader failed reading zip archive failed finding central directory
- Jupyter notebook Failed to Switch to the Virual Environment: DLL load failed python.exe could not find the entry
- [Solved] gyp verb `which` failed Error: not found: python2
- Import win32API; importerror: DLL load failed: the specified program was not found
- [Solved] Failed to install PIP for MacOS, prompt: syntax error: invalid syntax
- [Solved] PyCharm Failed to Start Error: failed to create jvm.jvm path…
- Brew Install python Error: tar: Error opening archive: Failed to open’***‘
- [Solved] Error when installing pycurl in MAC: Command ‘clang’ failed with exit status 1
- command ‘gcc’ failed with exit status 1 error while installing scrapy
- [Solved] Command “python setup.py egg_info” failed with error code 1
- Mac install python_Levenshtein Error: error: command ‘clang‘ failed with exit status 1