Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Pyspider commandline had error: invalid syntax #965

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

Pyspider commandline had error: invalid syntax #965

BrosLee opened this issue Feb 16, 2021 · 4 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

@damonChenzf07
Copy link

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

Thanks a lot, let me have a try

I have the same issue:
os: ubuntu 20.04
python version : 3.8.10

Successfully installed pyspider-0.3.10
damon@Zdrive:~$ pyspider
Traceback (most recent call last):
File "/home/damon/.local/bin/pyspider", line 5, in
from pyspider.run import main
File "/home/damon/.local/lib/python3.8/site-packages/pyspider/run.py", line 231
async=True, get_object=False, no_input=False):
^
SyntaxError: invalid syntax

@flowerone
Copy link

flowerone commented Jun 3, 2024 via email

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

No branches or pull requests

4 participants