2024-04-24 19:17:44 发布
网友
我正在尝试在我的conda环境中安装多处理。从anaconda的网站:https://anaconda.org/auto/multiprocessing,要安装多处理,我在conda env中运行了:
conda install -c auto multiprocessing=2.6.2.1
但是,我得到了一个错误:
为什么会这样?多处理与python 3.5不兼容吗?如果是这样,有没有办法在conda环境中安装与python3兼容的特定版本的多处理?在
python 3.5
提前谢谢。在
根据https://anaconda.org/auto/multiprocessing/files,这个版本的multiprocessing确实不是为了与python3兼容而编写的。在
multiprocessing
事实上,它的页面链接到谷歌代码,这也意味着它早就被遗弃了,因为它已经关闭了几年,幸运的是,即使是档案仍然存在。在
说到这里:
https://code.google.com/archive/p/python-multiprocessing/:
This is a back port of the multiprocessing package introduced via PEP-371 and Python 2.6. This is essentially for meta-fork of the original pyprocessing project found at: http://pyprocessing.berlios.de/
因此,它在功能上等同于Python2.6中引入的^{} in the standard library,您应该使用它。在
它的conda info也这么说:
conda info
Summary: Backport of the multiprocessing package to Python 2.4 and 2.5
根据https://anaconda.org/auto/multiprocessing/files,这个版本的
multiprocessing
确实不是为了与python3兼容而编写的。在事实上,它的页面链接到谷歌代码,这也意味着它早就被遗弃了,因为它已经关闭了几年,幸运的是,即使是档案仍然存在。在
说到这里:
https://code.google.com/archive/p/python-multiprocessing/:
因此,它在功能上等同于Python2.6中引入的^{} in the standard library ,您应该使用它。在
它的
conda info
也这么说:相关问题 更多 >
编程相关推荐