Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyspider commandline had error: invalid syntax #965

Open
BrosLee opened this issue Feb 16, 2021 · 2 comments
Open

Pyspider commandline had error: invalid syntax #965

BrosLee opened this issue Feb 16, 2021 · 2 comments

Comments

@BrosLee
Copy link

BrosLee commented Feb 16, 2021

  • 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

@tetsuo191
Copy link

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

@BrosLee
Copy link
Author

BrosLee commented Feb 19, 2021

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

Thanks a lot, let me have a try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants