<p>我试图访问cython0.15的新的并行特性(使用
Cython 0.15.1)。但是,如果我尝试这个最小的例子(试验品),取自<a href="http://docs.cython.org/src/userguide/parallelism.html" rel="nofollow">http://docs.cython.org/src/userguide/parallelism.html</a>:</p>
<pre><code>from cython.parallel import prange, parallel, threadid
cdef int i
cdef int sum = 0
for i in prange(n, nogil=True):
sum += i
print sum
</code></pre>
<p>用这个设置.py公司名称:</p>
^{pr2}$
<p>当我<code>import testp</code>时,Python告诉我:<code>ImportError: No module named
parallel</code>。事实上,如果我在
站点包,我找不到调用的任何文件或目录
<code>parallel</code>。但我觉得应该把它放在
释放?有人能为一个困惑的用户澄清一下吗?在</p>