From: Dieter on
Hi there,

I installed python 2.7 from the tar ball on python.org. the
installation was pretty uneventful. However, I need to run someone
elses python code and get the error message

ImportError: No module named binascii

Any recommendations how to correct this? Is there another tar file
somewhere that I can download to install this missing module?

Thanks a lot in advance.

From: MRAB on
Dieter wrote:
> Hi there,
>
> I installed python 2.7 from the tar ball on python.org. the
> installation was pretty uneventful. However, I need to run someone
> elses python code and get the error message
>
> ImportError: No module named binascii
>
> Any recommendations how to correct this? Is there another tar file
> somewhere that I can download to install this missing module?
>
> Thanks a lot in advance.
>
There isn't a separate binascii module. Have you tried:

>>> import binascii

at the Python prompt? That works for me (Windows XP) and will show
whether it's missing somehow.
From: Dave Angel on
Dieter wrote:
> Hi there,
>
> I installed python 2.7 from the tar ball on python.org. the
> installation was pretty uneventful. However, I need to run someone
> elses python code and get the error message
>
> ImportError: No module named binascii
>
> Any recommendations how to correct this? Is there another tar file
> somewhere that I can download to install this missing module?
>
> Thanks a lot in advance.
>
>
>
You should include the whole error message, including the traceback.

But perhaps first you should try importing binascii yourself, in the
interpreter.


DaveA