f



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

Dear List,

I have a freshly installed opensuse 11.2 and I am experiencing the following
problem with the module "subprocess":

sampsa@linux-912g:~> python
Python 2.6 (r26:66714, Feb  3 2009, 20:52:03)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/subprocess.py", line 404, in <module>
    import pickle
  File "/usr/lib/python2.6/pickle.py", line 171, in <module>
    class Pickler:
  File "/usr/lib/python2.6/pickle.py", line 250, in Pickler
    def put(self, i, pack=3Dstruct.pack):
AttributeError: 'module' object has no attribute 'pack'

Any ideas how to fix this?

Kind Regards,

Sampsa

=2D-------------
"Jos konsultti p=E4=E4stet=E4=E4n vapaasti touhuamaan ja ohjaamaan organisa=
atiota,
voi edess=E4 olla uppoaminen suunnitelmien suohon, eksyminen hankehelvettii=
n=20
ja dokumenttiviidakkoon."
               (Mielipideosasto, Helsingin Sanomat 14.5.2009)
0
9/10/2009 6:07:45 PM
comp.lang.python 77058 articles. 6 followers. Post Follow

0 Replies
1003 Views

Similar Articles

[PageSpeed] 54

Reply: