0

How do I clean it up?

Errors were encountered while processing:
 python-cairo
 python-gobject-2
 python-gtk2
 python-numpy
 python-sqlalchemy
 python-pygame
 childsplay
 childsplay-alphabet-sounds-ca
 python-pysqlite2
 gcompris
 python-configparser
 python-lzma
 python-sqlalchemy-ext
 youtube-dl
E: Sub-process /usr/bin/dpkg returned an error code (1)
skumaran@hamming:~$ 

My full error log is here:

http://pastebin.com/1c6cZz34

How do I clean up my system so that it does not give this error while installing software.

My active python is python3.4

skumaran@hamming:~/workspace$ /usr/bin/python --version
Python 3.4.5rc1
skumaran@hamming:~/workspace$ head -1 /usr/bin/pycompile 
#! /usr/bin/python
skumaran@hamming:~/workspace$ 

1 Answers1

1

Ubuntu depends on /usr/bin/python being Python2. If you change this to Python3 you break the system. Change it back to Python2.

See Why isn't python 3 the default python binary? and How do I make the terminal run python 3.1? for more about this.