mirror of
https://github.com/kirsle/kirsle.net
synced 2024-12-23 07:29:28 +00:00
12 lines
364 B
Markdown
12 lines
364 B
Markdown
# Python on Mac OS X Tips
|
|
|
|
# Installing Modules with pip
|
|
|
|
## cryptography
|
|
|
|
Depends on libffi and openssl: `brew install libffi openssl`
|
|
|
|
### Error: can't find openssl/aes.h
|
|
|
|
* Solution: `env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography`
|
|
* Found at: <https://github.com/pyca/cryptography/issues/2350> |