AuthorAshley ArchivesCategories |
Back to Blog
Pygame For Mac Os Sierra10/15/2021
It looks like we have one report of it not working on Sierra (10.12) and one report of it working fine on Catalina (10.15).Download Mac OS X 64-bit/32-bit Installer Python 3.3.5rc1 - Feb. Download Mac OS X 32-bit i386/PPC installer Download Mac OS X 64-bit/32-bit installerI’ve found that I can use the pip version of pygame (version 1.9.2b6) on Sierra, with a little bit of help.pygame is a free and open-source cross-platform library for the development of multimedia applications like video games using Python. It uses the Simple DirectMedia Layer library and several other popular libraries to abstract the most common functions, making writing these programs a more intuitive task.Here is a quick tutorial on how to get Pygame up and running with Python 3 on a Mac with OS X 10.6. Rationale 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).It can’t find a few libraries, but it will find them if you copy them to /usr/local/lib like this:Cd /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/.dylibsLn -s libfreetype.6.dylib libfreetype.dylibLoading png and jpg images work just fine at this point.
![]() Pygame Sierra Free And OpenThat is, if you Python version is 3.6.1, you only want to type "pip3.6". For any given version of Python 3.X, you can type into your terminal: pip3.X install pygameNote that you only want to keep two numbers. Install Pygame on a different version of PythonCheck what version of Python your IDE uses, using the trick above. If you somehow have Pygame installed on Python 3.3 but have all your other modules installed on Python 3.6, you'll probably want to stick with Python 3.6, rather than having to re-install everything on 3.3. Here, you should pick the choice that gets you the version of Python you want to use. Tekken 5 ppsspp android downloadUnder the exe menu, change the Python executable of Python to the desired version.If that doesn't work, you can also edit your code on your editor, save, and run it with python3 on your terminal like so: python3 FILE_NAME. Click on the drop-down menu and select "Edit Shell Configurations" It should have a picture of a window and say Python. In your shell window, locate the drop-down menu in your shell window. This is fairly simple if you're using Pyzo.
0 Comments
Read More
Leave a Reply. |