加载数据时出现报错:

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.

原因:多进程需要在main函数中运行

解决方法:加main函数,在main函数中执行。

最新文章

  1. js传入参数为字符串问题
  2. MySQL导入SQL文件及常用命令
  3. ASP.NET 5 入门 (2) – 自定义配置
  4. BZOJ4382 : [POI2015]Podział naszyjnika
  5. RadTextBox允许输入整形数字以及退格键
  6. (转)C# Color类图示
  7. (转) 学习C++ -> 向量(vector)
  8. 圣何塞与 Microsoft 宣布该市为超过 5,000 名市府公务员选择 Office 365、Windows Azure 和 StorSimple
  9. PHP: 异常exception
  10. new thoughts over function pointers
  11. Hadoop(一)Centos7虚拟机网络配置
  12. sftp新建用户步骤
  13. 浅析foreach语句
  14. Lab 11-1
  15. Linux 系统根目录下各个文件夹的作用
  16. 2017-2018-2 20165328 实验三《敏捷开发与XP实践》实验报告
  17. 5-(基础入门篇)学会刷Wi-Fi模块固件(刷LUA版本固件)
  18. Reorder the Books -- hdu -- 5500
  19. Android M App休眠 (adb shell dumpsys usagestats)
  20. jQuery解决IE6、7、8不能使用 JSON.stringify 函数的问题

热门文章

  1. fiddler构造表单上传文件的请求
  2. 【Leetcode_easy】1022. Sum of Root To Leaf Binary Numbers
  3. idea设置创建类的注释模板
  4. 对spring的简单了解
  5. [转帖]InnoDB与MyISAM等存储引擎对比
  6. [转帖]微软 SQ1 参数一览:8 核 Kryo 495,Adreno 685 GPU
  7. 服务注册与发现—Eureka
  8. JAVA线程中的发牌题
  9. (一)Shiro,久闻其名,而今初相识
  10. 长乐培训Day5