Error: failed building wheel for pycryptodome PIP installation error solution
PIP install pycryptodome build wheel error error error stack display reference OpenSSL error
ERROR: Failed building wheel for pycryptodome
# ①. install brew # ②. install [email protected] # ③ 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
brew install openssl will prompt you to export