New answers tagged python-2.7
sudo apt-get update && sudo apt-get install swi-prolog swi-prolog-nox Provides . /usr/lib/libswipl.a /usr/lib/libswipl.so /usr/lib/libswipl.so.7.2 /usr/lib/libswipl.so.7.2.3 /usr/lib/pkgconfig/swipl.pc . You can read the complete file list here http://packages.ubuntu.com/xenial/amd64/swi-prolog-nox/filelist
The issue is that when you install things with sudo apt-get install (or sudo pip install), they install to places in /usr, but the python you compiled from source got installed in /usr/local. The python you actually end up running when you type python at the prompt is the one you compiled (based on the output of the python -c 'import sys; print(sys.path)' ...
Based on the comments, you are missing some of the dependencies that matplotlib requires, namely libpng-dev and libfreetype6-dev. Install these dependencies by running: sudo apt update sudo apt install libpng-dev libfreetype6-dev
I had the same error message. What worked was sudo dpkg -a --configure as described in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709157.
In order to play h.264 encoded videos the corresponding decoder comes with the following library: apt install gstreamer1.0-libav
Top 50 recent answers are included