我是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