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
Post a Comment