On 2014-02-03 06:43, Terry Reedy wrote:
On 2/2/2014 10:04 PM, edvoge...@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.

I've used Visual C++ Express 2010 on XP Pro without any problem.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to