Keyword problem
the last sentence of the question appears
file “D: (installed/Python/lib/site packages/pyspider”\ run.py ”, line 231
async=True, get_ object=False, no_ Input = false):
syntax error: invalid syntax
the reason is: async is the keyword in Python 3.7 mark>
the solution is to replace this keyword. There are mainly two files: D: (installed) python (LIB) site packages (pyspider)\ run.py And D: installed, python, lib, site packages, pyspider, fetcher, tornado_ fetcher.py mark>
when replacing, please note: only replace the variable or parameter name named async. Do not try to save trouble by selecting “replace all”
after saving, run “pyspider all” again
at this time, the spider only starts to “scheduler XMLRPC listening on 127.0.0.1:23333” and stops
to continue to replace python_ HOME\Lib\site-packages\pyspider\webui\ app.py Async mark>
in
starts again
and reports an error again: valueerror: invalid configuration:
– modified option ‘domain controller’: use ‘HTTP’_ authenticator.domain_ Controller ‘instead.
solution: turn on python_ HOME\Lib\site-packages\pyspider\webui\ webdav.py File, modify line 209 mark>
to change ‘domain controller’: needauthcontroller (APP)
to:
‘http>_ Authenticator ‘: {
‘http authenticator’: needauthcontroller (APP),
},
save the file
run again and succeed
Read More:
- An error occurred while starting the application
- An error occurred when starting Tomcat in Eclipse: the sub container failed to start
- Error when starting Python in Windows
- An Ajax HTTP error occurred in drupal7 installation occurred.HTTP Result Code
- Running Python 3.7 web.py Runtimeerror: generator raised stopiteration exception occurred during test
- The sharepoint2010 site cannot open a solution that displays an “an unexpected error has occurred” error
- There is an unhandled exception at: 0xc0000005: an access conflict occurred while reading location 0x00000000.
- spyder an error ocurred while starting the kernel (How to Fix)
- Starting zookeeper to report an error already running as process
- An error is reported when starting the Remote Access Connection Manager service
- Error running docker container: starting container process caused “exec: \“python\“: executable file
- Repair connection: an internal error has occurred in windowsserver2016
- An error occurred while processing your request
- An error occurred during the installation of assembly
- Eclipse reported an error: an error has occurred
- VS 2010: An error occurred loading a configuration file: Failed to map the path ‘/’.
- An error occurred while installing json (1.8.1)
- An error occurred when MySQL backup with mysqldump instruction in MacOS system
- In Python, import XXX does not report an error, but in IPython (Jupiter notebook)
- An error occurred when installing pytorch version 1.7 GPU