Home > Mobile >  Why can't I install python3.8-dev on Ubuntu 16.04?
Why can't I install python3.8-dev on Ubuntu 16.04?

Time:02-12

This comes as a wider issue of Flask/Apache2.4 throwing a hissy fit over which version of python they want to use, but I can't follow any of the guidance I've found to fix it because I need python3.8-dev and it doesn't want to install:

apt install python3.8-dev`
...
E: Unable to locate package python3.8-dev
E: Couldn't find any package by glob 'python3.8-dev'
E: Couldn't find any package by regex 'python3.8-dev'

I have already done:

add-apt-repository ppa:deadsnakes/ppa
apt install software-properties-common
apt update
apt upgrade

which all succeed however none have so far led to success with installing python3.8-dev.

The output of lsb_release -a is:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.7 LTS
Release:        16.04
Codename:       xenial

I feel like I'm going mad, everything worked fine and today it just doesn't. I do of course already have python3.8 installed.

CodePudding user response:

Try This:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install software-properties-common
sudo apt update
sudo apt install python3.8-dev

CodePudding user response:

What device are you using? If you search install python, then click which operating system you’re using

  • Related