Python 3.3 and Pygame 19.2a install problems
edvogel56 at gmail.com
edvogel56 at gmail.com
Mon Feb 3 08:48:10 EST 2014
On Monday, February 3, 2014 12:43:06 AM UTC-6, Terry Reedy wrote:
> On 2/2/2014 10:04 PM, EdV 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
Thanks much. Glad to be getting these ideas in mind before I start having kids do installations and not have something intelligent to talk about when things don't work. I am more interested in having them explore programming but an important part of our work is how to deal with frustration and unexpected problems.
More information about the Python-list
mailing list