Python - Cannot install any packages

by Niall   Last Updated January 13, 2018 21:00 PM

Cant install any python related packages.

This all started when I tried to install NODE and NPM oh and guess what with my luck? Error.

So I tried 3 more times. Then sudo apt-get remove python Then sudo apt-get install python.

Failed with this message, Also the message that came earlier but when I was installing GYP.

Setting up python-pkg-resources (33.1.1-1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 289, in <module>
    main()
  File "/usr/bin/pycompile", line 262, in main
    options.force, options.optimize, e_patterns)
  File "/usr/bin/pycompile", line 178, in compile
    pipe.send(fn)
  File "/usr/bin/pycompile", line 141, in py_compile
    stdin.write(filename + '\n')
IOError: [Errno 32] Broken pipe
dpkg: error processing package python-pkg-resources (--configure):
 subprocess installed post-installation script returned error exit st
Tags : python apt


Related Questions




Is mod_wsgi module recommended for Django?

Updated June 25, 2017 03:00 AM

freeradius rlm_python tagged attributes

Updated February 23, 2018 09:00 AM

ubuntu 15.04 python module telnetlib

Updated August 03, 2015 17:00 PM