Also getting this. The last python updates completely broke my Python
installation:
[EMAIL PROTECTED]:~/src/gpodder$ python
'import site' failed; use -v for traceback
Python 2.5.2 (r252:60911, Feb 26 2008, 12:39:36)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import site
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site.py", line 415, in <module>
main()
File "/usr/lib/python2.5/site.py", line 408, in main
execsitecustomize()
File "/usr/lib/python2.5/site.py", line 389, in execsitecustomize
import sitecustomize
File "/usr/lib/python2.5/sitecustomize.py", line 13, in <module>
if os.path.isdir(local_site_python):
NameError: name 'os' is not defined
Temporary fix is to add "import os" after the line "import sys" in
/usr/lib/python2.5/sitecustomize.py, which seems to fix the problem for me.
--
package python2.5 2.5.2-0ubuntu3 failed to install/upgrade: trying to overwrite
`/usr/lib/python2.5/site.py', which is also in package python2.5-minimal
https://bugs.launchpad.net/bugs/195808
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs