[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:46:30 CEST 2011
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*
python-libs-2.7.1-1.x86_64
python-2.7.1-1.x86_64
$ rpm -E %py_sitedir
ERROR/lib64/pythonERROR/site-packages
$ 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
** Summary changed:
- sys module can't be imported
+ sys module can't be imported (ImportError: No module named _weakrefset)
** Description changed:
- shouldn't the sys module moved to python-modules (or weakrefset to
- -libs) so that sys module can be imported:
+ 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>
+ 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
--
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