Python error interpretation

Hal Burgiss hal at burgiss.net
Sun Mar 15 01:18:38 UTC 2009


Can anybody suggest a way to completely do a fresh re-install of all the
python stuff. Working on the theory that something was hosed, I tried
that but what I am doing is not working at all. In fact, its worse
now. 

I have removed and purged python. I re-installed but get errors now on any
python related installation. I've googled on the platform independent
libraries thing, but no joy.


Setting up bzr (1.3.1-1ubuntu0.1) ...
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/py_compilefiles", line 3, in ?
    import os
ImportError: No module named os
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1891, in <module>
    main()
  File "/usr/bin/pycentral", line 1885, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1263, in run
    self.options.exclude, byte_compile_default=True)
  File "/usr/bin/pycentral", line 880, in install
    rt.byte_compile(linked_files, bc_option, exclude_regex,
ignore_errors)
  File "/usr/bin/pycentral", line 175, in byte_compile
    fd.write(fn + '\n')
IOError: [Errno 32] Broken pipe
dpkg: error processing bzr (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bzr
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- 
Hal





More information about the ubuntu-users mailing list