美文网首页
Mac在python3环境下PySpider的安装和配置

Mac在python3环境下PySpider的安装和配置

作者: 冰雨9527 | 来源:发表于2020-12-17 17:16 被阅读0次

安装 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

相关文章

网友评论

      本文标题:Mac在python3环境下PySpider的安装和配置

      本文链接:https://www.haomeiwen.com/subject/iabzgktx.html