Chrome : 版本 96.0.4664.45(正式版本) (64 位)
操作系统 : Windows 10 64 bit [10.0.19042]
python : Python 3.9.4
在 .cnblogs 模拟登录时出现如下几个错误:
raise RuntimeError(’’'
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
AttributeError: ‘Chrome’ object has no attribute ‘service’
上网查询答案无法解决,请求大家帮助,谢谢!
带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎
了解课程