binux / pyspider

A Powerful Spider(Web Crawler) System in Python.

Home Page:http://docs.pyspider.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyspider commandline had error: invalid syntax

BrosLee opened this issue · comments

  • pyspider version: 0.3.10
  • Operating system:win10
  • Start up command:

Expected behavior

command line executed sucessfully

Actual behavior

(base) C:\ProgramData\Anaconda3\Scripts>pyspider [all]
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\programdata\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\Scripts\pyspider.exe_main
.py", line 4, in
File "c:\programdata\anaconda3\lib\site-packages\pyspider\run.py", line 231
async=True, get_object=False, no_input=False):
^
SyntaxError: invalid syntax

How to reproduce

I had the same problem, fixed it by using Python 3.6.

I had the same problem, fixed it by using Python 3.6.

Thanks a lot, let me have a try