[Bug 800148] Re: sys module can't be imported (ImportError: No module named _weakrefset)

Elan Ruusamäe 800148 at bugs.launchpad.net
Sat Aug 13 23:52:36 CEST 2011


#c1: rpm-pythonprov could be added R: python-modules as well (needed in
python packages anyway for /usr/lib/rpm/pythondeps.sh)

but import sys is imho quite common in apps/libs...?

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/800148

Title:
  sys module can't be imported (ImportError: No module named
  _weakrefset)

Status in PLD Linux Distribution:
  New

Bug description:
  shouldn't the sys module moved to python-libs (or weakrefset to -libs)
  so that sys module can be imported:

  $ rpm -qa python*
  python-libs-2.7.1-1.x86_64
  python-2.7.1-1.x86_64

  $ python -c "import sys"
  Traceback (most recent call last):
    File "/usr/share/python2.7/site.py", line 62, in <module>
    File "/usr/share/python2.7/os.py", line 398, in <module>
    File "/usr/share/python2.7/UserDict.py", line 83, in <module>
    File "/usr/share/python2.7/_abcoll.py", line 11, in <module>
    File "/usr/share/python2.7/abc.py", line 8, in <module>
  ImportError: No module named _weakrefset

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/800148/+subscriptions


More information about the pld-bugs mailing list