Friday, September 23, 2016

Install pygame for Python 3 on Ubuntu

  1. sudo apt-get install python3-pip
  2. sudo pip3 install --upgrade pip
  3. sudo pip3 install pygame

update as of Jan 2019  . . . this might brake pip in later releases. Check comments below.


latesttechnologyblogs said...

I like your blog, I read this blog please update more content on python, further check it once at python online training

Unknown said...

--upgrade killed my pip :(

Taylor said...

This seemed a little bit more helpful.

Taylor said...

sandeep ponnuru, this is the summation of what that forum offered.

sudo su root
apt-get purge -y python3-pip
apt-get purge -y python2-pip
apt-get install python3-pip
apt-get install python2-pip
python3 -m pip install --upgrade pip
python2 -m pip install --upgrade pip

Taylor said...

Please let me know if it works.

Post a Comment