Want to award this author with Pubby Cash? You must log in first!

Tricky Business...

Categories: General, Tech, Gaming | Pubby Cash Received:  10 | Click to Award

Have any of you heard of this Python module called Pygame? Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. Pygame can be installed on basically any platform, with the most popular being Windows and Mac. It's relatively easy to install on Windows—a simple pip install pygame should do the trick. However, if you have an outdated Mac like me, installing Pygame is a whole other story. Just typing python3 -m pip install -U pygame --user in your outdated Mac machine won't cut it, and that was going to be a problem. I looked for answers in Stack Overflow, Github, Google, but none of them seemed to work. I tried uninstalling Python3 and my current code editor, "PyCharm", but that didn't seem to work either. So from then on, coding with Pygame had to be done on my Windows computer, which isn't always comfortable. Yesterday, I tried to install a new module on my Mac that would allow me to develop mobile apps. I tried, and it didn't work. At the same time, I remembered my previous failed attempt to install Pygame. This time, I carefully inspected every single line in the documentation and scrolled down the download page for further tips on Mac installation until I found an older version of Pygame that might work. I carefully copied python3 -m pip install -U pygame==2.0.0.dev6 --user into the terminal and executed the command. It worked.


Published from: Pennsylvania US
Liked by: H2O, Evan Tang, fnfOzvSR 

Daily Deals


MECHANICSBURG WEATHER