我是Jython/Python世界的新手。我试图在Jython中安装多处理包。不过我是从的easy_install在Jython中使用多处理2.6.2.1包
Setup script exited with error: Compiling extensions is not supported on Jython
得到下面的返回信息有什么办法,我可以用Jython安装这个包?
我是Jython/Python世界的新手。我试图在Jython中安装多处理包。不过我是从的easy_install在Jython中使用多处理2.6.2.1包
Setup script exited with error: Compiling extensions is not supported on Jython
得到下面的返回信息有什么办法,我可以用Jython安装这个包?
如果multiprocessing
需要C扩展,即无法禁用它们,并且未在Java /纯Python中为Jython重新实现该模块,则不能使用它。自Python 2.6以来,multiprocessing
模块包含在stdlib中。目前的Jython支持Python 2.5。
Jython中没有GIL,因此在CPython中使用multiprocessing
的许多情况下都可以使用threading
。
线程是要走的路。 – sarwar 2012-02-01 21:53:26