Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 30143: /trunk/tools/ /trunk/tools/:
From: Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx>
Date: Tue, 29 Sep 2009 15:13:12 +0200
Hey Steve,

Stephen Fisher wrote:
I get this error when trying to run tools/indexcap.py:

Traceback (most recent call last):
   File "./indexcap.py", line 29, in <module>
     import multiprocessing
ImportError: No module named multiprocessing

It appears that multiprocessing was introduced in Python v2.6:

   http://docs.python.org/dev/library/multiprocessing.html

My Mac OS X 10.5.8 system doesn't have that version (provided by Apple):

 >python --version
Python 2.5.1

Is there another way to accomplish that or make it optional so we don't have to upgrade Python?

The multiprocessing module has been backported to Python 2.4/2.5:

http://code.google.com/p/python-multiprocessing/

I haven't tried this myself so I can't vouch for it.

--
Best regards,
Kovarththanan Rajaratnam