报错内容:
代码语言:javascript复制Traceback (most recent call last):
File "/usr/local/var/pyenv/versions/3.7.3/bin/pyspider", line 6, in <module>
from pyspider.run import main
File "/usr/local/var/pyenv/versions/3.7.3/lib/python3.7/site-packages/pyspider/run.py", line 231
async=True, get_object=False, no_input=False):
^
SyntaxError: invalid syntax
解决方法: 将async替换就可以了(例如都改为shark),注意不要修改导入包的部分