Search code examples
python-3.xbashsudowindows-subsystem-for-linux

no moduel named apt_pkg


I am trying to run the sudo apt-get update command on my bash shell but I am getting this error. I tried reinstall python3-apt as some of the answers on this site suggested but it isnt working for me. Can anyone guide me how to fix it.

enter image description here


Solution

  • it worked by making python3 point to pyhton 3.6.8