请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答 回答被采纳积分+3

3回答

bobby 2022-04-21 13:23:21

https://img1.sycdn.imooc.com//szimg/6260ea4209e5bc3511760578.jpg 把代码卸载main下面

0 回复 有任何疑惑可以回复我~
bobby 2022-04-10 09:16:41

具体报错信息是什么

0 回复 有任何疑惑可以回复我~
  • 提问者 王凯6397575 #1
    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.
    回复 有任何疑惑可以回复我~ 2022-04-18 16:36:27
e爬虫小白 2022-04-08 16:47:56

我的也是~,你的提示什么报错?

0 回复 有任何疑惑可以回复我~
  • 提问者 王凯6397575 #1
    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.
    回复 有任何疑惑可以回复我~ 2022-04-18 16:36:43
  • bobby #2
    看看上面的回复
    回复 有任何疑惑可以回复我~ 2022-04-21 13:23:35
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号