Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'importerror:': 0.07; 'sys': 0.07; 'failed:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'runtime': 0.09; 'python': 0.11; 'jan': 0.12; 'changes': 0.15; 'compiler.': 0.16; 'guess.': 0.16; 'pygame,': 0.16; 'pygame.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:3.3': 0.16; 'subject:Pygame': 0.16; 'subject:install': 0.16; 'subject:problems': 0.16; 'thoughts?': 0.16; 'wrote:': 0.18; 'module': 0.19; 'version.': 0.19; 'import': 0.22; 'install': 0.23; 'load': 0.23; 'header:User-Agent:1': 0.23; 'dll': 0.24; 'compiled': 0.26; 'skip:" 30': 0.26; 'url:edu': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'skip:p 30': 0.29; "doesn't": 0.30; 'newer': 0.30; 'specified': 0.30; 'file': 0.32; 'compatible': 0.32; '(most': 0.33; 'older': 0.33; 'could': 0.34; 'problem': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'found.': 0.36; 'installing': 0.36; 'skip:" 50': 0.36; 'possible': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'recent': 0.39; 'does': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'most': 0.60; 'new': 0.61; 'received:173': 0.61; 'here:': 0.62; 'email addr:gmail.com': 0.63; 'user,': 0.69; '3.4': 0.84; '95,': 0.84; 'installer': 0.84; 'random,': 0.84; 'received:fios.verizon.net': 0.84; 'url:comments': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Python 3.3 and Pygame 19.2a install problems Date: Mon, 03 Feb 2014 01:43:06 -0500 References: <919dac44-2102-416f-a9e5-8857ef11476b@googlegroups.com> <4fb4efe9-8842-4c55-8ee7-ba2cf8b54432@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <4fb4efe9-8842-4c55-8ee7-ba2cf8b54432@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391409806 news.xs4all.nl 2961 [2001:888:2000:d::a6]:43708 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65323 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 >> import pygame, random, sys File >> "C:\Python33\lib\site-packages\pygame\__init__.py", line 95, in >> >> 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