undetected_chromedriver 报错
来源:4-8 . cnblogs模拟登录(新增内容)
红红小尖椒
2022-03-16
File “D:\Python37\lib\multiprocessing\spawn.py”, line 136, in _check_not_importing_main
is not going to be frozen to produce an executable.’’’)
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.
运行报这个错,请教一下该怎么解决,完全摸不着头脑。
写回答
1回答
-
springlee
2022-03-17
加这句试试00
相似问题