dpkg: error processing package gzip (–configure):
package gzip is not ready for configuration
cannot configure (current status ‘half-installed’)
Errors were encountered while processing:
gzip
E: Sub-process /usr/bin/dpkg returned an error code (1)
I assume you are referring to the DevOps Prereq course’s Labs - Python - Introduction (Step 3 of 5). If not: I’ll need a link to the lab you’re referring to.
You can install python 3.8 using apt, doing something like
sudo apt update
sudo apt install python3.8
This works. What were you doing that did not work?