Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7868 > unrolled thread
| Started by | "Thomas L. Shinnick" <tshinnic@prismnet.com> |
|---|---|
| First post | 2011-06-17 17:23 -0500 |
| Last post | 2011-06-17 17:23 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Missing python27.dll on Win 7 64-bit "Thomas L. Shinnick" <tshinnic@prismnet.com> - 2011-06-17 17:23 -0500
| From | "Thomas L. Shinnick" <tshinnic@prismnet.com> |
|---|---|
| Date | 2011-06-17 17:23 -0500 |
| Subject | Re: Missing python27.dll on Win 7 64-bit |
| Message-ID | <mailman.97.1308349412.1164.python-list@python.org> |
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
Back to top | Article view | comp.lang.python
csiph-web