开发者

Python: installing multiprocessing

I need to import the multiprocessing module in Python 2.5.

I've followed 开发者_开发问答the instructions here exactly: http://code.google.com/p/python-multiprocessing/wiki/Install

make and make test run without errors. I've also edited $PYTHONPATH to include the directory where the package is installed.

But 'import multiprocessing' still says: "ImportError: no module named multiprocessing".

What am I doing wrong? Is there some step missing from these instructions? I haven't installed a Python module before.


Navigate to the directory containing the package then type:

python setup.py install

This info was contained in the INSTALL.txt file.

http://code.google.com/p/python-multiprocessing/source/browse/trunk/INSTALL.txt


perhaps you can try:

import sys
sys.path.append('/path/to/processingdotpylibs/')
import processing
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜