PySpider Installation on macOS Mojave

项月亮
1 min readFeb 22, 2019

--

pip3 uninstall pycurl
export PYCURL_SSL_LIBRARY=openssl
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
pip3 install pycurl --compile --no-cache-dir

Change the default LibreSSL on Mojave to OpenSSL, avoid the pycurl error.

Then install PySpider through pip3

pip3 install pyspider

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response