Example
On windows
(Apr-11-2017, 10:04 PM) metulburr Wrote: i believe you can bypass all that now with using pip. But i never owned a mac (nor want to) so i cant confirm. It's different on a mac, on windows its easy but here on a mac you have to download seperate files for the terminal. The Pygame download site presently has packages for Python 2.4, 2.5, 2.6 and 2.7 for OS X, but none for Python 3 (3.2 to be precise). This is odd, as everyone is doing Python 3 development these days, don't you think? And there even is an installer for Python 3 on MS Windows.
- Navigate to http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame – an unofficial site providing windows binaries of open-source python packages for the official CPython distribution by Christoph Gohlke.
- Download the appropriate pygame
.whl
file according to your installed python version. (The file is named something likepygame -
<pygame version> - <python version>
- win32.whl
) - Ie for mac download. Runinside your terminal, bash or consol.
Note: ifpip
is not found inPATH
try to runpython -m pip install your-pygame-package.whl
- Check if you can import pygame as a python module https://newvm772.weebly.com/blog/diner-dash-mac-download.If you do not get an error, you have correctly installed pygame on your computer :)
On linux
- Open your terminal and runNote: This will install pygame for python2
- Try to import pygame insideIf you do not get an error, you have correctly installed pygame on your linux system :)
How To Download Pygame On Macbook
On macOS
There are two ways to install it on mac:
Method 1
Go to the Pygame downloads page and download the mac installer. Run it, and it should install Pygame on your Mac.
Method 2
Install Homebrew:
Then use Homebrew to install Python 2.7.12 and Pygame:
It uses full-featured editing of large batches of photos to producing inspiring digital paintings and drawings. Adobe Photoshop CS6 for MacPhotoshop CS6 for Mac has an overhaul to the brush organization system, for more properties to be saved per-brush, and for brushes to be split into folders and sub-folders. You may also download. It also has brush stroke smoothing, and more than 1000 brushes. Lightroom download free. full version mac. A Curvature Pen tool is also available, to improve the creation of Bezier paths.
Now run Python in your terminal and try
import pygame
. If it does not say anything, it's installed successfully.Install Pygame On Mac
Related Tags
Alexandre Quessy, 2010-01-03 16:33:25 -0800
{{{It is impossible to install pygame on my Mac OS X from the packages provided on the page http://pygame.org/download.shtml
https://newvm772.weebly.com/extract-dmg-file-mac.html. I tried the three packages : * pygame-1.9.1release-py2.6-macosx10.5.zip 10.3MB * pygame-1.9.1release-py2.5-macosx10.5.zip 10.3MB * pygame-1.9.1release-py2.4-macosx10.5.zip 10.3MB
![How To Download Pygame On Mac How To Download Pygame On Mac](/uploads/1/3/3/2/133296028/596366191.jpg)
And they all give me the following error : (sorry for the french)
- Vous ne pouvez pas installer pygame 1.9.1release sur ce volume. pygame requires System Python 2.4 to install.
- Vous ne pouvez pas installer pygame 1.9.1release sur ce volume. pygame requires System Python 2.5 to install.
- Vous ne pouvez pas installer pygame 1.9.1release sur ce volume. pygame requires System Python 2.6 to install.
![How How](/uploads/1/3/3/2/133296028/405540951.png)
I use Mac OS 10.5.8 on a MacBook Pro with a 2.2 GHz Intel Core 2 Duo CPU, 2 Gb of RAM and 500 Gb of hard drive space. There is a Python that is installed with Mac OS X.
I installed a few MacPorts Python packages though, and it might be the reason :
python24 @2.4.6 (lang) An interpreted, object-oriented programming languagepython25 @2.5.4 (lang) An interpreted, object-oriented programming language
But when I issue 'which python' in a Terminal, it is the System Python that is listed, I think.
buzz:twisted aalex$ python -VPython 2.5.1buzz:twisted aalex$ which python/usr/bin/python}}}
Alexandre Quessy, 2010-01-03 19:34:16 -0800
{{{This is fixed once I have installed http://www.python.org/ftp/python/2.5/python-2.5-macosx.dmg
This should be documented.}}}