-1

Here's an image of what I have been experiencing

If you find any duplicate question, please link them. I tried searching but found none such for pygame

I found this question and then tried this:

apt-get install build-essential python3-dev python3-setuptools \ python3-pygame

but still doesn't work

The error is

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package  python3-pygame

Please suggest me a way to solve this

Thanks

GLaDOS
  • 308
  • 1
  • 10

1 Answers1

1

Ubuntu doesn't have a python3 pygame package, you may insteadinstall it using pip

apt-get install python3-pip python3-dev build-essential
pip3 install pygame
Adrijaned
  • 430
  • 6
  • 13