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