pyspider
pyspider copied to clipboard
cannot run pyspider!
- pyspider version:0.3.10
- Operating system:windows10 pro
- Start up command: pyspider all
Traceback (most recent call last):
File "C:\Users\dell\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\dell\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\dell\Documents\bia660\study\venv\Scripts\pyspider.exe_main.py", line 5, in
does anyone know what happen with the pyspider? when i enter command "pyspider all" to let it run , it shows above error message.
the some issue on macOS Mojave 10.14.6
Same on Ubuntu
update:
i have already addressed this problem by substituting all the "async" pyspider's scripts for "_async", the reason why i did this is that python3.7 have set "async" to a keyword, so it will occur this syntax problem, so just change "async" to other word, it will help.

@HammerChen, @weet-bred
async is the keyword in python3.7
一样 async 关键词, 最新代码中看到了 替换为async_mod, 但是bug修复,release版什么时候发出来?
。。。
Same here.
how to solve it in linux, help
There are several places in code, some change asyn to async_mode, some change async to async_fetch
Same here. Running inside a python 3.7 container:
root@36c71decd081:/# pyspider
Traceback (most recent call last):
File "/usr/local/bin/pyspider", line 5, in