Comments (4)
This program runs fine when I run it on my computer.
from pygame_tutorials.
Thanks you for your reply, may I ask which version of Python and Pygame you are using?
I'm using Python 2.7.17 and Pygame 1.9.1 on mac OS Mojave 10.14.5
from pygame_tutorials.
Those are very old versions (Python 2 has officially ended support this year and Pygame 1.9.1 is from 2009). I'm using Python 3.7.4 (all my tutorials use Python 3, and have for many years) and Pygame 1.9.6
You should never use the Mac OS built-in Python. Not only is it out of date, because it's built-in you can't/shouldn't install or update additional packages.
Download homebrew from https://brew.sh/ and use it to install Python 3, then you can do pip3 install pygame
to get the latest version.
from pygame_tutorials.
Thank you so much for taking your time to help me out, it took me the whole day but finally it worked. After downloading and installing multiple versions of pip, python, homebrew, I finally got it to work. THANK YOU!
from pygame_tutorials.
Related Issues (7)
- kidscancode
- scooter pygame final
- Can not understand the class method used in python file '1-2 sprite', line number 20 . HOT 1
- Can not understand the class method used in python file '1-2 sprite', line number 20 . HOT 1
- TypeError: __init__() takes 2 positional arguments but 4 were given HOT 2
- Error in shmup-11.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygame_tutorials.