python - How to import mailbox module from python2.5 if I also have installed python2.6 and python3.1 on my machine? -




have small problem python , import of module: want use mailbox module python2.5 problem have installed python2.6 , python3.1 on machine , when program reaches line import mailbox following error raised (it`s final part of error):
file "/usr/lib/python2.6/mailbox.py", line 19, in import email.message importerror: no module named message

how can force app import mailbox module /usr/lib/python2.5?

thanks in advance help!

run using appropriate executable.

python2.5 somescript.py 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -