Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65323
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Python 3.3 and Pygame 19.2a install problems |
| Date | 2014-02-03 01:43 -0500 |
| References | <919dac44-2102-416f-a9e5-8857ef11476b@googlegroups.com> <4fb4efe9-8842-4c55-8ee7-ba2cf8b54432@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6328.1391409806.18130.python-list@python.org> (permalink) |
On 2/2/2014 10:04 PM, edvogel56@gmail.com wrote: >> Traceback (most recent call last): File >> "C:\Users\Ed\Documents\SOMA\Minecraft and >> Python\inventwithpython_src\dodger.py", line 1, in <module> >> import pygame, random, sys File >> "C:\Python33\lib\site-packages\pygame\__init__.py", line 95, in >> <module> >> from pygame.base import * >> ImportError: DLL load failed: The specified module could not be >> found. > Found the answer here: > http://www.reddit.com/r/inventwithpython/comments/1dzl8m/when_importing_pygame_i_get_importerror_dll_load/ > > Questions but no big deal - 1. Why doesn't pygame.org have the most > recent install files compatible with the most recent python I ended > up finding them here: http://www.lfd.uci.edu/~gohlke/pythonlibs/ The base problem is that Microsoft changes the Visual C runtime with each version of the VC compiler. Python 3.3 was compiled with a newer version. It is a nuisance for packages to keep recompiling with a new VC version. Py 3.4 is using the same version as 3.4, so PyGames *might* work with 3.4, or there might be other compatibilities. > 2. Interesting that "3.2" pygames works with "3.3" python on my XP > but the Win 7 required the "3.3" pygames. Thoughts? It is possible that the VC++2010 runtime does not work with XP, but requires Vista+ and that the Microsoft installer installs the older VC++2008 runtime on XP even when installing 3.3. If you install for a single user, the vcxxxxx.dll is in the python directory or subdirectory. For all-user installs, it is in one of the windows/systemxx directories. But this is just a guess. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python 3.3 and Pygame 19.2a install problems edvogel56@gmail.com - 2014-02-02 18:06 -0800
Re: Python 3.3 and Pygame 19.2a install problems edvogel56@gmail.com - 2014-02-02 19:04 -0800
Re: Python 3.3 and Pygame 19.2a install problems Terry Reedy <tjreedy@udel.edu> - 2014-02-03 01:43 -0500
Re: Python 3.3 and Pygame 19.2a install problems edvogel56@gmail.com - 2014-02-03 05:48 -0800
Re: Python 3.3 and Pygame 19.2a install problems MRAB <python@mrabarnett.plus.com> - 2014-02-03 18:55 +0000
Re: Python 3.3 and Pygame 19.2a install problems Terry Reedy <tjreedy@udel.edu> - 2014-02-03 16:42 -0500
Re:Python 3.3 and Pygame 19.2a install problems Dave Angel <davea@davea.name> - 2014-02-02 22:08 -0500
csiph-web