Created
August 8, 2014 06:27
-
-
Save michaelluk/e678f3c3e7d7829437f7 to your computer and use it in GitHub Desktop.
install scrapy on mac osx 10.9+ (tested on 10.9 & 10.10)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://cryptography.io/en/latest/installation/#using-your-own-openssl-on-os-x | |
| brew install pkg-config libffi | |
| export CFLAGS=-Qunused-arguments | |
| export CPPFLAGS=-Qunused-arguments | |
| export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/ | |
| brew install openssl | |
| env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography | |
| pip install cryptography | |
| pip install Scrapy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment