Questions tagged [ubuntu-20.04]

Ubuntu 20.04 (Also codenamed Focal Fossa) is a Long Term Support (LTS) release of the Ubuntu operating system. QUESTIONS MUST BE PROGRAMMING RELATED.

The OS would be supported until 2025 by Canonical, it's manufacturer company.

Compared to the previous LTS version, the following notable changes happened:

  • Kernel upgrade from 4.15 to 5.4 .
  • ExFat is now supported.
  • No more 32 bit support.
  • Minor gnome upgrade (3.28 to 3.36)
  • System theme changed to Yaru, has three flavors: Light, Dark and Standard.
  • Notifications can now be muted in the Settings.
  • Dock can now be removed by the Extensions App.
  • New compression algorithms decrease installation time.
  • Booting better optimized, boots faster.
  • Wireguard is now supported, backported to kernel 5.4 .
  • More Snap App is supported.
  • Default is now Python3, although Python2 is still installable.
  • X11 fractional scaling.
  • Default Php version is now 7.4 (from 7.3).

References

1762 questions
108
votes
9 answers

Ubuntu 20.04 upgrade, Python missing libffi.so.6

I recently upgraded my OS to Ubuntu 20.04 LTS. Now when I try to import a library like Numpy in Python, I get the following error: ImportError: libffi.so.6: cannot open shared object file: No such file or directory I tried installing the libffi…
Kh4zit
  • 2,629
  • 3
  • 13
  • 25
96
votes
1 answer

MySQL installation on Ubuntu 20.04 error when using mysql_secure_installation

I'm trying to install MySQL on Ubuntu 20.04 and when I run the command sudo mysql_secure_installation, it fails with the error below: ... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used…
briantuju
  • 1,109
  • 1
  • 8
  • 12
79
votes
1 answer

ImportError: cannot import name 'html5lib' from 'pip._vendor' (/usr/lib/python3/dist-packages/pip/_vendor/__init__.py)

I use virtualenv to create a python virtual environment for my python project. #command pwd #result /home/dhanusha/Documents/projects/my-project # command virtualenv --version # results virtualenv 20.10.0 from…
Dhanusha_Perera07
  • 3,347
  • 5
  • 14
  • 22
71
votes
8 answers

How to install pip for Python 3.9 on Ubuntu 20.04

Ubuntu 20.04 comes with Python 3.8. I cannot uninstall Python 3.8 but I need Python 3.9 I went ahead and installed Python 3.9 from: sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.9 How do I install pip for python…
Gilson
  • 1,708
  • 3
  • 16
  • 21
57
votes
2 answers

Python 3.7 on Ubuntu 20.04

I am preparing a docker image for Ubuntu 20.04 and due to TensorFlow 2.0 requirement, I need Python 3.7. TensorFlow runs on Python 3.5 to 3.7. Running apt install python3 installs Python 3.8 by default and that breaks my TensorFlow installation. Is…
Kunal Shah
  • 1,011
  • 1
  • 8
  • 13
50
votes
2 answers

Memory allocation to docker containers after moving to WSL 2 in Windows

I recently updated my Docker environment to run on WSL 2 on Windows. For setting memory allocation limits on containers in previous versions, I had option in Docker Desktop GUI under Settings->Resources->Advanced->Preferences to adjust memory and…
Murtaza Haji
  • 1,093
  • 1
  • 13
  • 32
49
votes
7 answers

MySQL ERROR 2026 - SSL connection error - Ubuntu 20.04

I've recently upgraded my local machine OS from Ubuntu 18.04 to 20.04, I'm running my MySQL-server on CentOS (AWS). Post upgrade whenever I'm trying to connect to MySQL server it is throwing SSL connection error. $ mysql -u yamcha -h…
themrinalsinha
  • 591
  • 1
  • 4
  • 5
39
votes
3 answers

Why does pip3 want to create a kdewallet after installing/updating packages on Ubuntu 20.04?

I recently updated my system from Ubuntu 18.04 to 20.04. Afterwards I tried to update all of my pip3 packages using the shell command mentioned here (I changed "pip" to "pip3"). After it updated a couple of packages, this prompt came up: KDE Wallet…
Gesuchter
  • 541
  • 5
  • 13
32
votes
7 answers

Unable to locate package python-pip Ubuntu 20.04

I am trying to install mininet-wifi. After downloading it, I have been using the following command to install it: sudo util/install.sh -Wlnfv However, I keep getting the error: E: Unable to locate package python-pip I have tried multiple…
Captain_Dev88
  • 467
  • 1
  • 4
  • 6
31
votes
2 answers

How can I install pip for Python2.7 in Ubuntu 20.04

Is there any way that I can install "pip" for "Python2.7" ? I could install python2.7 by sudo apt install python2-minimal I tried installing pip for this. sudo apt install python-pip / python2-pip / python2.7-pip but none worked. Can anybody have…
Bhimasen
  • 677
  • 3
  • 8
  • 19
30
votes
11 answers

how to install virtualenv on Ubuntu 20.04 GCP instance?

I am trying to install python3 virtualenv. I get the following message when I try to run virtualenv. virtualenv Command 'virtualenv' not found, but can be installed with: apt install python3-virtualenv but if I run install command, I get the…
RedFox
  • 1,158
  • 2
  • 15
  • 28
29
votes
2 answers

Display errors in MySQL Workbench

MySQL Workbench is displaying a series of boxes instead of characters in the results screen, and a number of elements are disappearing from the window when a query is run. I'm receiving a number of GTK out of memory errors in the syslog when this…
Joundill
  • 6,828
  • 12
  • 36
  • 50
29
votes
4 answers

Building wheel for pandas on Ubuntu 20.04 takes more than 20 minutes, but not on 18.04

I have an installation script for ERPNext that works just fine on Ubuntu 18.04. When I run the same script on 20.04 I am obliged to wait more than 20 minutes for it to complete where it takes around 30 secs on 18.04. My script includes these two…
Martin Bramwell
  • 2,003
  • 2
  • 19
  • 35
28
votes
8 answers

docker installation failed on Ubuntu 20.04 LTS(Vmware)

I am following the docker installation on Ubuntu 20.04 using https://docs.docker.com/engine/install/ubuntu/ in Ubuntu VM on VMware. But when running the command to add the repository to Ubuntu. sudo apt-get install \ apt-transport-https \ …
Menuka Ishan
  • 5,164
  • 3
  • 50
  • 66
27
votes
3 answers

Gradle sync failed: com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'app' platform 'android-29' not found

Installed Android 4.1 on Ubuntu 20.04. Getting the following error: Gradle sync failed: com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'app' platform 'android-29' not found. On opening the SDK manager I…
1
2 3
99 100