I tried running the following command to set up a stable repository while installing Docker on my Ubuntu 18.04 server
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable
I get the following error
ModuleNotFoundError: No module named 'apt_pkg'
How do I fix this?