multiprocessing not working (oserror:[Errno 22] Invalid argument )(多处理不起作用(oserror:[Errno 22] Invalid argument))
问题描述
我正在使用 python3.5.2,我正在尝试学习多处理,但它对我不起作用它没有显示任何错误或任何事情它只是正常完成程序而没有做任何我已经问过的事情如果您想查看我的问题以了解更多详细信息,请在此处
有关为什么需要 if __name__ == '__main__':
部分的说明,请参阅编程指南.
Python » 文档 安全导入主模块
i am using python3.5.2 and i am trying to learn about multiprocessing but it doesn't work for me it doesn't show me any error or any thing it just finish the program normally with out doing anything i already asked about this if you want to see my question for more details
multiprocessing don't start
i tried everything and all the time is the same problem when i searched i found lot of people having the same problem every one was telling them that its the IDLE problem so i tried and i opened the python file with out the IDLE and now thankfully i had error message but i am beginner so i couldn't understand what is the problem , here is the problem :
For an explanation of why the if __name__ == '__main__':
part is necessary, see Programming guidelines.
Python » Documentation Safe importing of main module
这篇关于多处理不起作用(oserror:[Errno 22] Invalid argument)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:多处理不起作用(oserror:[Errno 22] Invalid argument)
基础教程推荐
- 线程时出现 msgbox 错误,GUI 块 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- 筛选NumPy数组 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- 用于分类数据的跳跃记号标签 2022-01-01
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01