New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"for me" installer problem on x64 Vista #48268
Comments
After installing the 32 bit .msi or the 64 bit .msi "for me" on a fairly Microsoft Windows [Version 6.0.6000] C:\Users\maint>\python26\python
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\python26\lib\socket.py", line 46, in <module>
import _socket
ImportError: DLL load failed: The application has failed to start
because its si
de-by-side configuration is incorrect. Please see the application event
log for
more detail.
>>> The event log entry for this is: Changing ../msvcr90.dll to ..\msvcr90.dll does not fix the problem Importing socket does work when the msi is installed for everyone. |
Could you try it again with "..\\msvcr90.dll", please? |
Neither "..\\msvcr90.dll" or a full path work (with \ or \\) seem to work. |
I don't have a Vista box at my disposal. Martin might be able to help you. Barry: |
I had noticed the problem myself, and I don't know any solution to it. Out of curiosity: Is this Vista SP1? If so, can somebody try Vista RTM? In short, the problem is that Vista now complains about the .. in the A work-around is to place another copy of msvcr90.dll into the DLLs As a consequence, I propose that the "for me" installation just isn't In any case, I don't think this should block the release, given that no |
I think one of the tested machines is Vista RTM, though it's been If non-admin installs can't be made to work, I agree that the "for me" This is rather important because it means that python is unusable using I'd still like to see the need to depend on a C runtime dll dropped at |
I don't think this could even work: apparently, Vista disallows putting |
I agree that this is the case. The closest thing I found to I think the best option is to always install for everyone as |
May be call of SetDllDirectory with argument path to python executable |
See bpo-4022 for a similar problem in WIndows XP professional, |
I'm skeptical. According to the documentation, "The directory from which |
I spotted the problem on Vista Home Premium SP1 32bit As John indicates the problem with the 'all users' install is that it I ran into SxS problems on XP when building Python 2.5.? from source for |
The mozilla bug is https://bugzilla.mozilla.org/show_bug.cgi?id=371359 |
Here is a patch that fixes the problem as proposed. An installer built http://www.dcl.hpi.uni-potsdam.de/home/loewis/u/python-3.0.14158.msi |
Works for me on Vista, Not tried on XP. Seems a reasonable temporary compromise though we are now stopping all |
Thanks for the confirmation. Committed as r66881, r66882, and r66883. |
existis a 2.6 fix or a build with fix? |
No, this will be fixed in 2.6.1. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: