Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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; 'python,': 0.01; 'app,': 0.07; 'indeed,': 0.07; 'something,': 0.07; 'x-mailer:qualcomm windows eudora version 7.1.0.9': 0.07; 'python': 0.08; '32-bit': 0.09; 'skip:/ 40': 0.09; 'to:name:python-list@python.org': 0.09; 'c++': 0.12; 'error:': 0.12; 'wrote:': 0.14; '>please': 0.16; '>when': 0.16; 'dlls': 0.16; 'installs': 0.16; 'subject:bit': 0.16; 'suggest': 0.19; 'command': 0.19; 'header:In-Reply-To:1': 0.21; 'maybe': 0.23; '64-bit': 0.23; 'vs.': 0.23; 'wrong?': 0.23; 'url:mailman': 0.26; 'windows': 0.26; 'installed': 0.28; 'checking': 0.29; 'received:mail.rr.com': 0.29; 'url:listinfo': 0.30; '(maybe': 0.30; 'listing.': 0.30; 'received:71.74': 0.30; 'received:71.74.56': 0.30; 'received:hrndva-omtalb.mail.rr.com': 0.30; 'received:71': 0.31; 'file.': 0.32; 'someone': 0.33; 'to:addr:python-list': 0.33; 'david': 0.33; 'too': 0.33; '...': 0.34; 'install': 0.34; 'file': 0.34; 'dll': 0.35; 'using': 0.35; 'received:24': 0.35; 'received:rr.com': 0.36; 'charset:us-ascii': 0.36; 'running': 0.37; 'something': 0.37; 'another': 0.37; 'url:python': 0.38; 'december': 0.38; 'url:org': 0.38; 'run': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'doing': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'missing': 0.40; 'more': 0.60; 'your': 0.60; '01:43': 0.84; '02:13': 0.84; '03:09': 0.84; 'message-id:@hrndva- omtalb.mail.rr.com': 0.84; 'received:24.27': 0.84; 'received:71.74.56.122': 0.84 X-Authority-Analysis: v=1.1 cv=IOX921YOuPvYFce5aSLzPVIStpiCPR9M8R83dyHW74w= c=1 sm=0 a=NnT8aHWbFUIA:10 a=bgH8vYQCEbEA:10 a=kj9zAlcOel0A:10 a=Graj6Y5OcwSZ2XRXwn+B9A==:17 a=8AHkEIZyAAAA:8 a=ppykgzMUol9XQ26dpSQA:9 a=CjuIK1q_8ugA:10 a=Graj6Y5OcwSZ2XRXwn+B9A==:117 X-Cloudmark-Score: 0 X-Originating-IP: 24.27.50.163 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 17 Jun 2011 17:23:17 -0500 To: "python-list@python.org" From: "Thomas L. Shinnick" Subject: Re: Missing python27.dll on Win 7 64-bit In-Reply-To: <0CCCA5445D7FCB4298BBF0739D4FDD52031DBFE7AE89@EUEXCLU01.EU. NEC.COM> References: <0CCCA5445D7FCB4298BBF0739D4FDD52031DBFE7AE89@EUEXCLU01.EU.NEC.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 58 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308349412 news.xs4all.nl 49046 [::ffff:82.94.164.166]:51116 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7868 At 02:13 AM 6/17/2011, David Aldrich wrote: >Hi > >I am building a 32-bit C++ application using Visual C++ Express 2008 >on 64-bit Windows 7. The application links to Python, so I >installed 32-bit Python 2.7.2 by running python-2.7.2.msi. > >When I run my app, I get error: > >... python27.dll is missing from your computer ... > >and, indeed, it is in neither C:\Windows\System32 nor C:\Windows\SysWOW64. > >Please will someone suggest what I am doing wrong? Maybe nothing, maybe something, too little information to know. First, _look_ for the file. That is, find the file wherever it is. Go to the command line and do dir /s \ >allfiles.20110617a Then look at that listing. WIth Python 2.7.2 which I just installed the dll ends up in SysWOW64. And now I see that they are all there, and nowhere else! Directory of C:\Windows\SysWOW64 08/24/2010 07:47 PM 2,148,864 python26.dll 06/12/2011 03:09 PM 2,206,720 python27.dll 03/21/2010 01:43 AM 2,137,600 python31.dll 02/20/2011 10:29 PM 2,227,712 python32.dll But in December they were in both places! 2010/11/23 21:42:42 2148864 /cygdrive/c/Windows/System32/python26.dll 2010/11/23 21:45:32 2286080 /cygdrive/c/Windows/System32/python27.dll 2010/11/16 20:16:31 2137600 /cygdrive/c/Windows/System32/python31.dll 2010/11/23 21:42:42 2148864 /cygdrive/c/Windows/SysWOW64/python26.dll 2010/11/23 21:45:32 2286080 /cygdrive/c/Windows/SysWOW64/python27.dll 2010/11/16 20:16:31 2137600 /cygdrive/c/Windows/SysWOW64/python31.dll (Maybe something to do with the 32-bit vs. 64-bit installs mis-direction? I use only the 32-bit now...) Now, do another install of Python 2.7.2 on another machine. Do a file listing. Where do the DLLs end up? Re-do the install on your machine. Where do the DLLs end up? Do some more checking and tell us what you've _found_ and where... >Best regards > >David >-- >http://mail.python.org/mailman/listinfo/python-list