How do you import turtle graphics and pygame on a Mac? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

How do you import turtle graphics and pygame on a Mac?

Friend cant run turtle graphics or pygame. I think its related to pip. Homebrew might help.

9th Feb 2017, 7:04 PM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
4 Answers
+ 1
pip install {module}
9th Feb 2017, 10:30 PM
Michaell Yushko
Michaell Yushko - avatar
+ 11
thank you. i got pip and pygame going but turtle wont run macbook pro
10th Feb 2017, 10:20 PM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 9
Apparently if you install python using Homebrew rather than just d/l ing and installing from the python.org website, the homebrew version of python comes with pip installed.
2nd Mar 2017, 9:29 AM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 8
You definitely need and want pip, an import tool. First check to see if you have it: $ pip --version ALSO try $ pip3 --version
9th Feb 2017, 7:27 PM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar