Python37 cannot start pyspider

Error content:

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 231async=True, get_object=False, no_input=False):^
SyntaxError: invalid syntax

Solution:
Just replace async (for example, change to shark), be careful not to modify the imported package part

Recommended Posts

Python37 cannot start pyspider
Quick start Python file operation