Re: Problem upgrading pip and installing pygame
On 1/31/22 07:18, ojomooluwatolami...@gmail.com wrote: > > Good morning, Python. I am having trouble installing pygame. it keeps saying > to upgrade my pip version which I have done several times. then when I tried > importing python to see if it has worked, in the ide it says the module does > not exist or something along that line. what do I do please? Thanks. > > Sent from my iPhone When Python can't find modules it's *always* a path problem - the install went somewhere on the system, but not to the places the Python you are using is looking in. One suggestion that usually helps is to use pip as a module, then it will match exactly the Python used, because you're actually using that Python. So for example, if the way you invoke Python is through the Windows Python launcher "py", then use this line: py -m pip install --upgrade pip pygame should put things in the right place. adjust according to your situation, which we can't guess at. -- https://mail.python.org/mailman/listinfo/python-list
Re: Problem upgrading pip and installing pygame
On Mon, 31 Jan 2022 14:18:47 +, ojomooluwatolami...@gmail.com declaimed the following: > >Good morning, Python. I am having trouble installing pygame. it keeps saying >to upgrade my pip version which I have done several times. then when I tried >importing python to see if it has worked, in the ide it says the module does >not exist or something along that line. what do I do please? Thanks. Where to begin... "importing python" is never done -- python is the language and its interpreter/compiler. Which "ide"? Show us the EXACT operations you are performing and the results... [NOT SCREEN CAPTURES -- this forum strips non-text attachments; select the TEXT and cut&paste that] -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list
Problem upgrading pip and installing pygame
Good morning, Python. I am having trouble installing pygame. it keeps saying to upgrade my pip version which I have done several times. then when I tried importing python to see if it has worked, in the ide it says the module does not exist or something along that line. what do I do please? Thanks. Sent from my iPhone -- https://mail.python.org/mailman/listinfo/python-list
Re: Fwd: Problem installing pygame
On 2019-12-14 02:12, Eric Gonzalez wrote: Get Outlook for Android<https://aka.ms/ghei36> From: Eric Gonzalez Sent: Thursday, December 12, 2019 9:35:40 PM To: python-list@python.org Subject: Problem installing pygame Hello, with the above mentioned i am having some serious problems with the installation of "Pygame" on my laptop. I have tried using the "pip" method and it tells me that ''pip' is not recognized as an internal or external command, operable program or batch file ', i researched but honestly i don't know what to do. I installed the python program the proper way, but for some reason the 'pip' method doesn't work for me, I also tried the method whereby you go and find which pygame SDL package that is compatible with my 32 bit windows 10 and it didn't work either. Oh... i tried using the pip method in pycharm but it was unsuccessful as well. Am a rookie 1 with python, really love the language its very efficient and easy to learn hence the reason i love it and am focusing on only learning this language for its the BEST Please help me i would really appreciate it a lot. Try running pip via the Python launcher. Instead of: pip install XXX try: py -m pip install XXX -- https://mail.python.org/mailman/listinfo/python-list
Fwd: Problem installing pygame
Get Outlook for Android<https://aka.ms/ghei36> From: Eric Gonzalez Sent: Thursday, December 12, 2019 9:35:40 PM To: python-list@python.org Subject: Problem installing pygame Hello, with the above mentioned i am having some serious problems with the installation of "Pygame" on my laptop. I have tried using the "pip" method and it tells me that ''pip' is not recognized as an internal or external command, operable program or batch file ', i researched but honestly i don't know what to do. I installed the python program the proper way, but for some reason the 'pip' method doesn't work for me, I also tried the method whereby you go and find which pygame SDL package that is compatible with my 32 bit windows 10 and it didn't work either. Oh... i tried using the pip method in pycharm but it was unsuccessful as well. Am a rookie 1 with python, really love the language its very efficient and easy to learn hence the reason i love it and am focusing on only learning this language for its the BEST Please help me i would really appreciate it a lot. Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing pygame
I literally just installed pyGame under 3.5.1, using following .whl file that pulled off a site offering collections of .whl files: http://www.lfd.uci.edu/~gohlke/pythonlibs/ And, according to following page, the command of pi3p install ...followed by name of .whl file... handled installing pyGame under 3.5.1: https://skellykiernan.wordpress.com/2015/01/04/python-pygame-install/ That was after copying the .whl file into the./scripts directory under python 3.5.1 installation path. HTH Jacob Kruger Blind Biker Skype: BlindZA "Roger Wilco wants to welcome you...to the space janitor's closet..." On 2016-01-21 12:10 PM, John Mycroft wrote: Hi! I have now spent several hours trying to install Pygame with Python 3.5. I have installed from a msi file "successfully" but "import pygame" fails either because Python can't find pygame or because "%1 is not a valid .DLL". I have followed the instructions at https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/ to install from a wheel which works just fine until I get to *** C:\Python>c:\python\scripts\pip install pygame-1.9.2a0-cp35-none-win32 c:\python\lib\site-packages\pip\pep425tags.py:89: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): c:\python\lib\site-packages\pip\pep425tags.py:93: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): Collecting pygame-1.9.2a0-cp35-none-win32 Could not find a version that satisfies the requirement pygame-1.9.2a0-cp35-none-win32 (from versions: ) No matching distribution found for pygame-1.9.2a0-cp35-none-win32 ** which tells me nothing. Please, someone - how do I install pygame? It appears to be installed on my PC - maybe I have it in the wrong folder? When I download the install packages, I copy them into my c:\Python folder (where my Python lives) and install from there so I would think they'd get installed in the right place. Many thanks - John Mycroft -- https://mail.python.org/mailman/listinfo/python-list
Installing pygame
Hi! I have now spent several hours trying to install Pygame with Python 3.5. I have installed from a msi file "successfully" but "import pygame" fails either because Python can't find pygame or because "%1 is not a valid .DLL". I have followed the instructions at https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/ to install from a wheel which works just fine until I get to *** C:\Python>c:\python\scripts\pip install pygame-1.9.2a0-cp35-none-win32 c:\python\lib\site-packages\pip\pep425tags.py:89: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): c:\python\lib\site-packages\pip\pep425tags.py:93: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): Collecting pygame-1.9.2a0-cp35-none-win32 Could not find a version that satisfies the requirement pygame-1.9.2a0-cp35-none-win32 (from versions: ) No matching distribution found for pygame-1.9.2a0-cp35-none-win32 ** which tells me nothing. Please, someone - how do I install pygame? It appears to be installed on my PC - maybe I have it in the wrong folder? When I download the install packages, I copy them into my c:\Python folder (where my Python lives) and install from there so I would think they'd get installed in the right place. Many thanks - John Mycroft -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On 2014-04-25 23:42:33 +, Gregory Ewing said: That's fine if it works, but the OP said he'd already tried various things like that and they *didn't* work for him. By reading the "original" message (the empty reply with full quote of a ten months earlier message) I couldn't figure what the OP actually did, he says "just about every way possible", or what his "an error" actually is. Most likely all those methods are good, I'd rather fix any of those by providing further info than switch to another one looking for a magical solution. -- Andrea -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On 2014-04-25 23:57:21 +, Gregory Ewing said: I don't know what you're doing to hose your system that badly. I've never had a problem that couldn't be fixed by deleting whatever the last thing was I added that caused it. The actual problem with the "native MacOSX way" is that there's no official way to uninstall a package once it's installed. Also the problems I had with one of the third-party package managers was because it *didn't* keep its own stuff properly separated. It installed libraries on my regular library path so that they got picked up by things that they weren't appropriate for. This most likely was not MacPorts, its default install path is not checked by dyld by default. But I use a wide variety of libraries, not all of them available that way, and many of them installed from source, and I find it's less hassle overall to do everything the native MacOSX way wherever possible. Well, the "native" MacOSX way would probably be registering a package via installer(8) not compiling from source. As long as you're comfortable with your system then it's good for you. In my experience the more libraries/software I install the more useful a package manager becomes in terms of stray files left when upgrading or uninstalling. I use a mix of MacPorts to provide the base tools and virtualenv for project-specific pypi libraries. -- Andrea -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
Ryan Hiebert wrote: > I've chosen to use MacPorts because it keeps things separate, because when things get hosed using the system libraries, I don't have to erase my whole system to get back to a "vanilla" OS X install. I don't know what you're doing to hose your system that badly. I've never had a problem that couldn't be fixed by deleting whatever the last thing was I added that caused it. Also the problems I had with one of the third-party package managers was because it *didn't* keep its own stuff properly separated. It installed libraries on my regular library path so that they got picked up by things that they weren't appropriate for. I'm not saying that MacPorts is a bad thing. If it's the *only* thing you use, it's probably fine. But I use a wide variety of libraries, not all of them available that way, and many of them installed from source, and I find it's less hassle overall to do everything the native MacOSX way wherever possible. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
Ned Deily wrote: I disagree that installing a bunch of disparate software from various sources via binary installers and/or source is to be preferred to a modern third-party package manager on OS X like MacPorts or Homebrew. That's just setting yourself up for a long-term maintenance headache. What could be easier than: sudo port install py27-game That's fine if it works, but the OP said he'd already tried various things like that and they *didn't* work for him. And I've had trouble in the past with MacPorts and/or Fink (can't remember exactly which one it was) installing libraries that were incompatible with other things I use and messing them up, so I've learned to be wary of them. Those problems were probably due to some unusual features of my setup, and wouldn't occur for most other people. But because I don't use those tools, I can't give any recommendations about how to troubleshoot them. All I can do is explain what works for me. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On Thu, Apr 24, 2014 at 9:38 PM, Ned Deily wrote: > In article , > Gregory Ewing wrote: > > My advice would be to steer clear of things like Fink and MacPorts > > and do things the native MacOSX way wherever possible. That means > > using a framework installation of Python and framework versions of > > the various libraries that PyGame uses. > > FYI, MacPorts Pythons are framework installations. And I disagree that > installing a bunch of disparate software from various sources via binary > installers and/or source is to be preferred to a modern third-party > package manager on OS X like MacPorts or Homebrew. That's just setting > yourself up for a long-term maintenance headache. What could be easier > than: > > sudo port install py27-game > > I'd love to hear more about Greg's take on MacPorts. I've chosen to use MacPorts because it keeps things separate, because when things get hosed using the system libraries, I don't have to erase my whole system to get back to a "vanilla" OS X install. Unfortunately, it seems like the differences in which libraries are used, what options are enabled at library build time, etc, make it difficult to ensure that things always work when you try to use the stuff built-in to the system, and untangling the Homebrew mess can be painful. -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
In article , Gregory Ewing wrote: > My advice would be to steer clear of things like Fink and MacPorts > and do things the native MacOSX way wherever possible. That means > using a framework installation of Python and framework versions of > the various libraries that PyGame uses. FYI, MacPorts Pythons are framework installations. And I disagree that installing a bunch of disparate software from various sources via binary installers and/or source is to be preferred to a modern third-party package manager on OS X like MacPorts or Homebrew. That's just setting yourself up for a long-term maintenance headache. What could be easier than: sudo port install py27-game -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
Terry Reedy wrote: Idle depends on tkinter. Tkinter depends on having a tcl/tk that works, at least for tkinter. The following page has essential info about getting the right tcl/tk installed. https://www.python.org/download/mac/tcltk Also keep in mind that you don't *have* to use IDLE at all. I do all my Python development on MacOSX using BBEdit Lite and the Terminal. If nothing else, you can try out pygame that way to see whether your problem is a pygame-related one or something else. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
rohit782...@gmail.com wrote: On Saturday, June 8, 2013 9:37:44 PM UTC+5:30, Eam onn wrote: Now I have a bigger problem: HOW THE HECK DO I INSTALL PYGAME!?!?! System Details: I've tried using MacPorts, Fink, the Mac DMG, source installing, installing NumPY, just about every way possible. My advice would be to steer clear of things like Fink and MacPorts and do things the native MacOSX way wherever possible. That means using a framework installation of Python and framework versions of the various libraries that PyGame uses. There are a number of steps to getting pygame working: 1) Make sure you have a working framework installation of an appropriate version of Python. I installed mine from source, but a binary installation should work too. Depending on your MacOSX version, the system python might be sufficient. 2) Install framework versions of the SDL library and other libraries that pygame uses. You may need to hunt around a bit, but you should be able to find DMG installers for all of these. In my /Library/Frameworks I have: SDL.framework SDL-QD.framework SDL_image.framework SDL_mixer.framework SDL_net.framework SDL_ttf.framework 3) Install pygame itself with the usual 'python setup.py install'. If you have all the relevant libraries, the installer will auto detect them and use them. At the end, it will tell you which ones it couldn't find. Pygame will work without some of them, but those features won't be available. You can add more libraries and run setup.py again if you need to. 4) Specific games may require other Python libraries such as Numpy etc. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On Thu, 24 Apr 2014 15:15:09 -0400, Terry Reedy wrote: > On 4/24/2014 11:32 AM, rohit782...@gmail.com wrote: > > When you post, please do more than just quote. If you are relaying a > private email, please say so. > >> On Saturday, June 8, 2013 9:37:44 PM UTC+5:30, Eam onn wrote: > > I did not see the original post, if indeed there was a public one. Check out the date. It was over ten months ago. -- Steven D'Aprano http://import-that.dreamwidth.org/ -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On 4/24/2014 11:32 AM, rohit782...@gmail.com wrote: When you post, please do more than just quote. If you are relaying a private email, please say so. On Saturday, June 8, 2013 9:37:44 PM UTC+5:30, Eam onn wrote: I did not see the original post, if indeed there was a public one. [snip pygame/numpy problems] ... I do have Window's installed, as well as Ubuntu 11.04 but I would like to use Mac OS X if possible. I've tried using MacPorts, Fink, the Mac DMG, source installing, installing NumPY, just about every way possible. I can't seem to get it working, I keep getting an error in all my versions of IDLE. I've tried: * IDLE 2.5 * IDLE 2.7.2 * IDLE 2.7.3 * IDLE 3.1 * IDLE 3.3.1 Idle depends on tkinter. Tkinter depends on having a tcl/tk that works, at least for tkinter. The following page has essential info about getting the right tcl/tk installed. https://www.python.org/download/mac/tcltk -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On Saturday, June 8, 2013 9:37:44 PM UTC+5:30, Eam onn wrote: > Perhaps this isn't the right place to post this, but it's the only place I > could find. > > > > I asked yesterday or the day before about Python Game Development, and have > found a few tutorials on PyGame. Now I have a bigger problem: HOW THE HECK DO > I INSTALL PYGAME!?!?! System Details: > > > > * Mac OS X 10.8.4 Mountain Lion > > * 4GB DDR3 RAM > > > > I do have Window's installed, as well as Ubuntu 11.04 but I would like to use > Mac OS X if possible. I've tried using MacPorts, Fink, the Mac DMG, source > installing, installing NumPY, just about every way possible. I can't seem to > get it working, I keep getting an error in all my versions of IDLE. I've > tried: > > > > * IDLE 2.5 > > * IDLE 2.7.2 > > * IDLE 2.7.3 > > * IDLE 3.1 > > * IDLE 3.3.1 > > > > None of the versions work. I'm using PyGame 1.9.1. > > > > Thanks! Any help is appreciated! -- https://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
Eam onn: ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper This is saying that the version of Python you are using is a different architecture to the installed pygame library. This could be because you are using a 64-bit version of Python with a 32-bit library or vice-versa. Or you have a PowerPC library and Python is compiled for Intel processors. In Terminal, you can find the architecture of files with "otool -vh" followed by the file name. So try (on one line) otool -vh /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so And the same with Python, first finding where Python is with whereis python Then post all of the output text, not just your interpretation. Neil -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
Type: python -V (That was a capitol V) What version of python is running? Type: python3 -V (That was a capitol V) What version of python is running? Type: python -c 'import pygame' What is the exact error message? Type: python Your prompt should change to something like: >>> Type: import pygame What is the exact error message? -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On 8 Jun 2013 19:19, "Eam onn" wrote: > Wait, the python -c "help('modules')" worked after spamming it a few times. Pygame was listed but it won't do anything when I type in 'import pygame' I still get the error :( Try to always say what your error was. Do you have pip installed? Pygame AFAIK is a c extension so it requires a working compiler. I think you need to have one. -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On Saturday, June 8, 2013 7:05:49 PM UTC+1, Eam onn wrote: > On Saturday, June 8, 2013 6:58:53 PM UTC+1, ccl...@bluewin.ch wrote: > > > At the Terminal prompt type: python -c "help('modules')" > > > > > > > > > > > > If Pygame is not somewhere in the output then Pygame is not yet installed. > > > > > > > > > > > > If it is not installed then type: pip install --upgrade pygame > > > > python -c "help('modules')" made an error. pip install --upgrade pygame made > an error too. Wait, the python -c "help('modules')" worked after spamming it a few times. Pygame was listed but it won't do anything when I type in 'import pygame' I still get the error :( -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On Saturday, June 8, 2013 6:58:53 PM UTC+1, ccl...@bluewin.ch wrote: > At the Terminal prompt type: python -c "help('modules')" > > > > If Pygame is not somewhere in the output then Pygame is not yet installed. > > > > If it is not installed then type: pip install --upgrade pygame python -c "help('modules')" made an error. pip install --upgrade pygame made an error too. -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
At the Terminal prompt type: python -c "help('modules')" If Pygame is not somewhere in the output then Pygame is not yet installed. If it is not installed then type: pip install --upgrade pygame -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On Saturday, June 8, 2013 5:41:40 PM UTC+1, Fábio Santos wrote: > On 8 Jun 2013 17:17, "Eam onn" wrote: > > > I keep getting an error in all my versions of IDLE. > > What error is that? Show us. Errors carry strong hints. > > Also, are you following an install guide/tutorial? Which one? > > Cheers I'm not following a guide, but I have followed about 20 - No exaggeration. Here's the error I am getting: ERROR 1: Terminal COMMAND: import pygame File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in from pygame.base import * ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper ERROR 2: IDLE (all versions) COMMAND: import pygame Traceback (most recent call last): File "", line 1, in import pygame ImportError: No module named 'pygame' Any idea as to what is going on? Terminal is V2.7.3 of Python. -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing PyGame?
On 8 Jun 2013 17:17, "Eam onn" wrote: > I keep getting an error in all my versions of IDLE. What error is that? Show us. Errors carry strong hints. Also, are you following an install guide/tutorial? Which one? Cheers -- http://mail.python.org/mailman/listinfo/python-list
Installing PyGame?
Perhaps this isn't the right place to post this, but it's the only place I could find. I asked yesterday or the day before about Python Game Development, and have found a few tutorials on PyGame. Now I have a bigger problem: HOW THE HECK DO I INSTALL PYGAME!?!?! System Details: • Mac OS X 10.8.4 Mountain Lion • 4GB DDR3 RAM I do have Window's installed, as well as Ubuntu 11.04 but I would like to use Mac OS X if possible. I've tried using MacPorts, Fink, the Mac DMG, source installing, installing NumPY, just about every way possible. I can't seem to get it working, I keep getting an error in all my versions of IDLE. I've tried: • IDLE 2.5 • IDLE 2.7.2 • IDLE 2.7.3 • IDLE 3.1 • IDLE 3.3.1 None of the versions work. I'm using PyGame 1.9.1. Thanks! Any help is appreciated! -- http://mail.python.org/mailman/listinfo/python-list
Having a hard time installing pygame on Win7.
Hi all, got a small problem. As I'm going through "Python Programming for the Absolute Beginner", I got to chapter 11 and as I'm working through it, I can't seem to get pygame/livewires installed... I don't even know how to go about installing it (the book is skimpy on details). I'm using Python 3.3.0 for the job. Has anyone else had the same problems? -- http://mail.python.org/mailman/listinfo/python-list
Re: Installing pygame on MacOS-X Lion with Python 3.3
>I can't get it working : "No pygame module"... >Tried without success : >pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip >pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg > >I am using Python 3 last version on MacOS-X Lion. > >Where is a step-by-step installation procedure ? > >Thanks, > >franck That'd likely be because package installations are limited to the major and minor version they were built for. Those two packages, for example, were built for Python 2.7, which is significantly different from Python 3.3. I'm not seeing any 3.3 builds for Pygame *at all*, even for Windows, so you'd probably be best off moving to Python 2.7. You should be able to use Pygame freely then. ~Temia -- When on earth, do as the earthlings do. -- http://mail.python.org/mailman/listinfo/python-list
Installing pygame on MacOS-X Lion with Python 3.3
I can't get it working : "No pygame module"... Tried without success : pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg I am using Python 3 last version on MacOS-X Lion. Where is a step-by-step installation procedure ? Thanks, franck -- http://mail.python.org/mailman/listinfo/python-list