AttributeError: 'module' object has no attribute 'pack'

Jerry Hill malaclypse2 at gmail.com
Thu Sep 10 16:31:28 EDT 2009


On Thu, Sep 10, 2009 at 4:21 PM, Sampsa Riikonen <sampsa.riikonen at iki.fi> wrote:
> Hello,
>
> I already solved this.. I had to set
>
> PYTHONPATH=
>
> After that the error msg disappeared.
> Weird though.. I don't have any module called "subprocess"
> in my personal python modules directory.

You have a module named struct.py (or strucy.pyc) that is shadowing
the builtin struct module.

-- 
Jerry



More information about the Python-list mailing list