[W 190405 00:11:42 run:413] phantomjs not found, continue running without it.
[I 190405 00:11:44 result_worker:49] result_worker starting...
[I 190405 00:11:44 processor:211] processor starting...
[I 190405 00:11:45 tornado_fetcher:638] fetcher starting...
[I 190405 00:11:47 scheduler:647] scheduler starting...
[I 190405 00:11:47 scheduler:782] scheduler.xmlrpc listening on 127.0.0.1:23333
[I 190405 00:11:47 scheduler:586] in 5m: new:0,success:0,retry:0,failed:0
[I 190405 00:11:48 tornado_fetcher:671] fetcher exiting...
[I 190405 00:11:48 app:84] webui exiting...
[I 190405 00:11:48 scheduler:663] scheduler exiting...
[I 190405 00:11:49 processor:229] processor exiting...
[I 190405 00:11:49 result_worker:66] result_worker exiting...
Traceback (most recent call last):
File "D:\SoftWare\Python27\Scripts\pyspider-script.py", line 9, in <module>
load_entry_point('pyspider==0.3.10', 'console_scripts', 'pyspider')()
File "D:\SoftWare\Python27\lib\site-packages\pyspider\run.py", line 754, in main
cli()
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 1114, in invoke
return Command.invoke(self, ctx)
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\pyspider\run.py", line 165, in cli
ctx.invoke(all)
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\pyspider\run.py", line 497, in all
ctx.invoke(webui, **webui_config)
File "D:\SoftWare\Python27\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "D:\SoftWare\Python27\lib\site-packages\pyspider\run.py", line 384, in webui
app.run(host=host, port=port)
File "D:\SoftWare\Python27\lib\site-packages\pyspider\webui\app.py", line 59, in run
from .webdav import dav_app
File "D:\SoftWare\Python27\lib\site-packages\pyspider\webui\webdav.py", line 216, in <module>
dav_app = WsgiDAVApp(config)
File "D:\SoftWare\Python27\lib\site-packages\wsgidav\wsgidav_app.py", line 135, in __init__
_check_config(config)
File "D:\SoftWare\Python27\lib\site-packages\wsgidav\wsgidav_app.py", line 119, in _check_config
raise ValueError("Invalid configuration:\n - " + "\n - ".join(errors))
ValueError: Invalid configuration:
- Deprecated option 'domaincontroller': use 'http_authenticator.domain_controller' instead.
网上居然没有特别明显的解决,费劲千辛万苦才查到,这是WsgiDAV发布了版本 pre-release 3.x导致的,所以只要把版本降下来就好了。
将wsgidav替换为2.4.1
•# python -m pip install wsgidav==2.4.1
ImportError: No module named redis
这里需要为Python安装Redis库,登陆https://github.com/andymccurdy/redis-py 后点击Download ZIP下载安装包。
解压并安装
python setup.py install