Python 3.9.6 在windows下使用multiprocessing多进程报如下错误,但linux下正常

Traceback (most recent call last):
File "D:\Studio\python\New\autoTest\cases\Zd\commDaping.py", line 324, in testDapingLianHuaShiYeOK
self.dapingLianHuaShiYeOK(driver, paramsIn, checkPoint)
File "D:\Studio\python\New\autoTest\cases\Zd\dapingLianHuaShiYe.py", line 40, in dapingLianHuaShiYeOK
t1.start()
File "D:\ProgramFiles\Python\Python39\lib\multiprocessing\process.py", line 121, in start
self._popen = self._Popen(self)
File "D:\ProgramFiles\Python\Python39\lib\multiprocessing\context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\ProgramFiles\Python\Python39\lib\multiprocessing\context.py", line 327, in _Popen
return Popen(process_obj)
File "D:\ProgramFiles\Python\Python39\lib\multiprocessing\popen_spawn_win32.py", line 93, in __init__
reduction.dump(process_obj, to_child)
File "D:\ProgramFiles\Python\Python39\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_io.TextIOWrapper' object

最新文章

  1. Failed to load resource: the server responded with a status of 500 (Internal Server Error)
  2. pv命令监控Linux命令的执行进度
  3. Linux登录验证机制、SSH Bruteforce Login学习
  4. RSA密钥的生成与配置
  5. winform学习之----Directory
  6. FileInputStream利用缓冲数组读取数据
  7. ajax正确返回数据,却进入了error分支
  8. BZOJ 1055 玩具取名
  9. MFC学习之程序执行过程梳理
  10. Hbiernate关联排序问题
  11. loadrunner 手工参数拼接与l oadrunner的url编码
  12. 优雅的H5下拉刷新【minirefresh】
  13. Spark环境搭建(二)-----------HDFS shell 常用操作
  14. (一)为什么要UML
  15. QT 实现图片旋转的两种方法
  16. selenium官方网站文档,testng官方网站文档
  17. Codeforces 327E Axis Walking 状压dp
  18. Chess (SG + 状态压缩预处理)
  19. Shiro学习笔记 三(认证授权)
  20. linux base shell 基础语法2

热门文章

  1. key对象转换数组title
  2. Java 反射概念的引入
  3. django我学习的第一个web框架
  4. Spring cloud Sleuth 分布式链路跟踪
  5. Mysql数据库基础第五章:(一)事务
  6. python通过接口执行shell命令
  7. 窗口退出&初始化
  8. 一个小demo---递归计算子类下的某个值的总和
  9. python菜鸟学习: 13. excel文件编辑openpyxl使用
  10. C#笔记誊录<二>