sys module can't be imported (ImportError: No module named _weakrefset)
Bug #800148 reported by
Elan Ruusamäe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PLD Linux |
Fix Released
|
Medium
|
Artur Frysiak |
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-
python-
$ python -c "import sys"
Traceback (most recent call last):
File "/usr/share/
File "/usr/share/
File "/usr/share/
File "/usr/share/
File "/usr/share/
ImportError: No module named _weakrefset
To post a comment you must log in.
rpmbuild without the module is pointless too, do we really need to update all python packages now to load python-modules as BR?
$ rpm -qa python* libs-2. 7.1-1.x86_ 64 2.7.1-1. x86_64
python-
python-
$ rpm -E %py_sitedir pythonERROR/ site-packages
ERROR/lib64/
$ python -c "import sys" python2. 7/site. py", line 62, in <module> python2. 7/os.py" , line 398, in <module> python2. 7/UserDict. py", line 83, in <module> python2. 7/_abcoll. py", line 11, in <module> python2. 7/abc.py" , line 8, in <module>
Traceback (most recent call last):
File "/usr/share/
File "/usr/share/
File "/usr/share/
File "/usr/share/
File "/usr/share/
ImportError: No module named _weakrefset