安装 phantomjs
brew update
brew cask install phantomjs
安装 PySpider
pip3 install pyspider
启动 PySpider
pyspider all
发现又报错了
Traceback (most recent call last):
File "/usr/local/bin/pyspider", line 5, in <module>
from pyspider.run import main
File "/usr/local/lib/python3.8/site-packages/pyspider/run.py", line 231
async=True, get_object=False, no_input=False):
^
SyntaxError: invalid syntax
Mac 基于Python3.7 安装PySpider
Mac下pyspider不兼容python3.7解决方法
MAC 下搭建 PySpider
网友评论