python3.7將async做爲了關鍵字,致使安裝pyspider出錯php
github.com/pyenv/pyenvpython
brew update
brew install pyenv
複製代碼
pip uninstall pycurl
set PYCURL_SSL_LIBRARY=openssl
pip install pycurl
複製代碼
pip uninstall pycurl
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
export PYCURL_SSL_LIBRARY=openssl
pip install pycurl
複製代碼
pip install pyspider
複製代碼
pip uninstall wsgidav
pip install wsgidav==2.4.1
複製代碼
conda create --name py36 python=3.6.8
複製代碼
activate py36
# 注意:必定要在conda的cmd環境下
複製代碼
conda install pycurl
複製代碼
pip install pyspider
# 注意:必定要在python3.6環境下
複製代碼
問題1: Deprecated option 'domaincontroller': use 'http_authenticator.domain_controller' instead.git
pip uninstall wsgidav
pip install wsgidav==2.4.1
複製代碼
問題2:ModuleNotFoundError: No module named 'mysql'github
pip install mysql-connector-python
複製代碼
pyspider
複製代碼
轉載請註明:溜爸 » 解決安裝pyspider的若干問題sql