Novice pyspider all can't start up.

problem description


`C:pythonPython37Scripts > pip3 install pyspider
Requirement already satisfied: pyspider in c:pythonpython37libsite-packages (0.3.10)
Requirement already satisfied: Flask > = 0.10 in c:pythonpython37libsite-packages (from pyspider) (1.0.2)
Requirement already satisfied: Jinja2 > = 2.7in c:pythonpython37libsite-packages (from pyspider) (2.10)
Requirement already satisfied: chardet > = 2.2 in c:pythonpython37libsite-packages (from pyspider) (3.0.4)
Requirement already satisfied: cssselect > = 0.9 in c:pythonpython37libsite-packages ( From pyspider) (1.0.3)
Requirement already satisfied: lxml in c:pythonpython37libsite-packages (from pyspider) (4.2.5)
Requirement already satisfied: pycurl in c:pythonpython37libsite-packages (from pyspider) (7.43.1)
Requirement already satisfied: requests > = 2.2 in c:pythonpython37libsite-packages (from pyspider) (2.20.1)
Requirement already satisfied: Flask-Login > = 0.2.11 in c:pythonpython37libsite-packages (from pyspider) (0.4.1)
Requirement already satisfied: u-msgpack-python > = 1 .6 in c:pythonpython37libsite-packages (from pyspider) (2.5.0)
Requirement already satisfied: click > = 3.3 in c:pythonpython37libsite-packages (from pyspider) (7.0)
Requirement already satisfied: six > = 1.5.0 in c:pythonpython37libsite-packages (from pyspider) (1.11.0)
Requirement already satisfied: tblib > = 1.3.0 in c:pythonpython37libsite-packages (from pyspider) (1.3.2)
Requirement already satisfied: wsgidav > = 2.0.0 in c:pythonpython37libsite-packages (from pyspider) (2.
Requirement already satisfied: tornado < = 4.5.3, >
Requirement already satisfied: pyquery in c:usershereappdataroamingpythonpython37site-packages (from pyspider) (1.4.0)
Requirement already satisfied: itsdangerous > = 0.24 in c:pythonpython37libsite-packages (from Flask > = 0.10-> pyspider) (1.1.0)
Requirement already satisfied: Werkzeug > = 0.14 in c:pythonpython37libsite-packages (from Flask > = 0.10-> pyspider) (0.14.1)
Requirement already satisfied: MarkupSafe > = 0.23 in c:pythonpython37libsite-packages (from Jinja2 > = 2.7) -> pyspider) (1.1.0)
Requirement already satisfied: urllib3 < 1.25, > = 1.21.1 in c:pythonpython37libsite-packages (from requests > = 2.2-> pyspider) (1.24.1)
Requirement already satisfied: certifi > = 2017.4.17 in c:pythonpython37libsite-packages (from requests > = 2.2-> pyspider) (2018.10.15)
Requirement already satisfied: idna < 2.8, > = 2.5 in c:pythonpython37libsite-packages (from requests > = 2.2-> pyspider) (2.7)
Requirement already satisfied: PyYAML in c:pythonpython37libsite-packages (from wsgidav > = 2.0.0-> pyspider) (3.13)
Requirement already satisfied: defusedxml in c:pythonpython37libsite-packages (from wsgidav > = 2.0.0-> pyspider) (0.5.0)
Requirement already satisfied: jsmin in c:pythonpython37libsite-packages (from wsgidav > = 2.0.0-> pyspider) (2.2.2) `

related codes

/ / Please paste the code text below (do not replace the code with pictures)
C:Usershere > pyspider all
Traceback (most recent call last):
File "C:PythonPython37Scriptspyspider-script.py", line 11, in < module >

load_entry_point("pyspider==0.3.10", "console_scripts", "pyspider")()

File "c:pythonpython37libsite-packagespkg_resources__init__.py", line 480, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)

File "c:pythonpython37libsite-packagespkg_resources__init__.py", line 2693, in load_entry_point

return ep.load()

File "c:pythonpython37libsite-packagespkg_resources__init__.py", line 2324, in load

return self.resolve()

File "c:pythonpython37libsite-packagespkg_resources__init__.py", line 2330, in resolve

module = __import__(self.module_name, fromlist=["__name__"], level=0)

File "c:pythonpython37libsite-packagespyspiderrun.py", line 231

async=True, get_object=False, no_input=False):
    ^

SyntaxError: invalid syntax

what"s wrong with this

Mar.07,2022

syntax error. Look at the usage of async


async has become a reserved keyword in python3.7


the reason is that async has become a keyword in python3.7. So this error occurred.
the way to modify it is to replace it manually

asyncmark_async

/usr/local/lib/python3.7/site-packages/pyspider/run.py  231245365

/usr/local/lib/python3.7/site-packages/pyspider/webui/app.py 95

/usr/local/lib/python3.7/site-packages/pyspider/fetcher/tornado_fetcher.py 818995117

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36ce7-2b896.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36ce7-2b896.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?