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

2009-09-10 Thread Ben Kaplan
", line 171, in class Pickler: File "/usr/lib/python2.6/pickle.py", line 250, in Pickler def put(self, i, pack=struct.pack): AttributeError: 'module' object has no attribute 'pack' Any ideas how to fix this? Kind Regards, Is there another struct modul

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

2009-09-10 Thread Jerry Hill
On Thu, Sep 10, 2009 at 4:21 PM, Sampsa Riikonen 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 struc

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

2009-09-10 Thread Sampsa Riikonen
mport subprocess > > > > Traceback (most recent call last): > > File "", line 1, in > > File "/usr/lib/python2.6/subprocess.py", line 404, in > > import pickle > > File "/usr/lib/python2.6/pickle.py", line 171, in > &g

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

2009-09-10 Thread Albert Hopkins
> File "/usr/lib/python2.6/subprocess.py", line 404, in > import pickle > File "/usr/lib/python2.6/pickle.py", line 171, in > class Pickler: > File "/usr/lib/python2.6/pickle.py", line 250, in Pickler > def put(self, i, pack=struct

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

2009-09-10 Thread Sampsa Riikonen
ickle.py", line 171, in class Pickler: File "/usr/lib/python2.6/pickle.py", line 250, in Pickler def put(self, i, pack=struct.pack): AttributeError: 'module' object has no attribute 'pack' Any ideas how to fix this? Kind Regards, Sampsa