How to fix “module ‘platform’ has no attribute ‘linux_distribution'” when installing new packages with Python3.8?

It looks like at least on my Ubuntu 16.04, pip is shared for all Python versions in /usr/lib/python3/dist-packages/pip. This is what I did to get it working again: sudo apt remove python3-pip sudo python3.8 -m easy_install pip You might want to install the python 3.5 version of pip again with sudo python3.5 -m easy_install pip.

python GDAL 2.1 installation on Ubuntu 16.04

What worked for me is this: https://gis.stackexchange.com/a/193828/66527 Below, I copy that answer: You can download GDAL 2.1 for Windows from GIS Internals. There is an installer and a portable version that doesn’t require installation. GDAL 2.1 is available for Ubuntu 16.04 from the UbuntuGIS-Stable PPA sudo add-apt-repository -y ppa:ubuntugis/ppa sudo apt update sudo apt upgrade … Read more

Can’t reset root password with –skip-grant-tables on ubuntu 16

I found that the mysql.sock is deleted when the mysql service is stoped and mysqld_safe can’t create it (I couldn’t find the reason), so my solution was back up the sock folder and restore before start mysqld_safe Start server $ sudo service mysql start Go to sock folder $ cd /var/run Back up the sock … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)