New answers tagged


sudo apt-get update && sudo apt-get install swi-prolog swi-prolog-nox Provides . /usr/lib/libswipl.a /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/pkgconfig/swipl.pc . You can read the complete file list here


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


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