No Module Named Pygame Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of where to install pygame this site About Us Learn more about Stack Overflow the company Business Learn
No Module Named Pygame Mac
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question no module named pygame ubuntu x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
Pygame 64 Bit
ImportError: No module named 'pygame' up vote 15 down vote favorite 3 I have installed python 3.3.2 and pygame 1.9.2a0. Whenever I try to import pygame by typing: import pygame I get following error message : Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import pygame Traceback (most recent import pygame error mac call last): File "
read through this book; however even if you haven’t you can still read this book anyway. Programming isn’t nearly as hard as people think it is. If you ever
Import Pygame Not Working
run into some trouble, you can read the free book “Invent Your Own Computer
No Module Named Pygame Raspberry Pi
Games with Python” online at http://inventwithpython.com or look up a topic that you find confusing on the Invent with Python wiki installing pygame on mac at http://inventwithpython.com/wiki. You don’t need to know how to use the Pygame library before reading this book. The next chapter is a brief tutorial on all of Pygame’s major features and functions. Just in case http://stackoverflow.com/questions/18317521/importerror-no-module-named-pygame you haven’t read the first book and already installed Python and Pygame on your computer, the installation instructions are in this chapter. If you already have installed both of these then you can skip this chapter. Downloading and Installing Python Before we can begin programming you'll need to install software called the Python interpreter on your computer. (You may need to ask an adult for help here.) The interpreter is https://inventwithpython.com/pygame/chapter1.html a program that understands the instructions that you’ll write (or rather, type out) in the Python language. Without the interpreter, your computer won't be able to run your Python programs. We'll just refer to “the Python interpreter” as “Python” from now on. The Python interpreter software can be downloaded from the official website of the Python programming language, http://www.python.org. You might want the help of someone else to download and install the Python software. The installation is a little different depending on if your computer’s operating system is Windows, Mac OS X, or a Linux OS such as Ubuntu. You can also find videos online of people installing the Python software on their computers at http://invpy.com/installing. Windows Instructions When you get to http://python.org, you should see a list of links on the left (such as “About”, “News”, “Documentation”, “Download”, and so on). Click on the Download link to go to the download page, then look for the file called “Python 3.2 Windows Installer (Windows binary -- does not include source)” and click on its link to download Python for Windows. Double-click on the python-3.2.msi file that you've just downloaded to start the Python installer. (If it doesn’t start, try right-clicking the file and choosing Install.) Once the installer star
Computer Programming Advice Personal QuestionI have Pygame installed, but I get an error when imported. What is the problem?I installed Pygame from here Downloads and put the Pygame map into lib in the python32 map, but when i try to import pygame https://www.quora.com/I-have-Pygame-installed-but-I-get-an-error-when-imported-What-is-the-problem on my editor or in the shell it says "no module named pygame". I also tried installing pygame using pip install pygame but got an error in the lines of "could not find existing version". Running Python 3.2 http://askubuntu.com/questions/399824/how-to-install-pygame on win 8UpdateCancelAnswer Wiki1 Answer Viliami Tuanaki, Pygame experienceWritten 66w agoI also had the same problem.You will have to install 32-bit pygame, along with 32-bit Python32.There is a note in the downloads page saying windows 64-bit users, use no module 32-bit pygame with 32-bit Python.1.9k ViewsView More AnswersRelated QuestionsWhen I type "import Pygame" I get import error: no module named Pygame. How do I import it?I can't import the Pygame module. When I'm trying to import Pygame it gives me an error, that the Pygame module isn't found. How can I solve t...How do you install pygame?Does Pygame work in Python 3?My computer, my Python installation and my Pygame installation are all 32-bit, but Pygame can't no module named seem to find its way to Python. What should I ...How can I import Pygame in PTVS?Why can't I install Pygame in my Windows machine?How can I install PyGame (and any other Python modules) onto a Mac running OSX?Is pygame dead?How do I install Pygame in Linux?I have installed OpenCV through Homebrew. I could find the location. I have installed SciPy and NumPy scikit-learn libraries too. However, whe...Is it possible to install PyGame 1.9 on RHEL5?Why am I getting error messages (the app isn't installed) when installing WhatsApp?When I installed Tecplot 360, I got an error 1720. How do I solve this problem?When install or uninstall python2.7.9, prompt error, there is a problem with windows installer packages?Why am I getting Runtime error in UVA - 10684 problem?How can I install pygame on python with cygwin?How do I import my created Tiled Map onto Pygame?What do you need to install in order to use Pygame?I can't install Homebrew because I keep getting this error. How can I fix it?Related QuestionsWhen I type "import Pygame" I get import error: no module named Pygame. How do I import it?I can't import the Pygame module. When I'm trying to import Pygame it gives me an error, that the Pygame module isn't found. How can I solve t...How do you install pygame?Does Pygame work in Python 3?My computer, my Python installation an
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to install pygame? up vote 7 down vote favorite 2 I am running Ubuntu 13.10. I have python 2.7.5 with anaconda 1.8.0. Whenever I start python and type import pygame it tells me that there is no module named pygame. How can I install pygame? 13.10 python share|improve this question edited Jan 4 '14 at 7:11 don.joey 11.2k54582 asked Jan 4 '14 at 6:01 saisanjeev 1192210 Did you try using sudo apt-get install python-pygame? –i08in Jan 4 '14 at 6:36 yes,i did try it –saisanjeev Jan 4 '14 at 9:53 Were any of the answers helpful? –i08in Feb 13 '14 at 20:12 yeah,I did not look at the version no. properly.I typed in 13.04 but it was actually 12.04.I upgraded it and it worked! –saisanjeev Feb 16 '14 at 11:47 add a comment| 2 Answers 2 active oldest votes up vote 10 down vote accepted The reason you are not able to import pygame into your python interpreter is because you are installing it for python2 and starting the python3 interpreter(Ubuntu 13.10 uses python3 by default). To install pygame for python2(your version is 2.7.5), do this on a terminal(Ctrl+Alt+t): sudo apt-get install python-pygame and then start the python2 interpreter python2 and then try to import pygame as import pygame To set python2 as your default interpreter, you can set an alias in your bash_aliases file. To do this, open a terminal and type: nano ~/.bash_aliases This may open an empty file, depending upon whether you have set an alias before and then type alias python='python2' Do not change symlinks in /usr/bin/python3, since this may break many application in Ubuntu 13.10 which use python3 vociriferously. share|improve this answer edited Jan 4 '14 at 16:54 answered Jan 4 '14 at 13:37 i08in 14.7k65588 I use p