-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
2.7.9.0
2. Which components have you installed (Python(x,y) installer:
componentpage):
"Full" installation
Whatplugins?
3. Have you selected the option "Customize installation directories"?
No
4. If the answer to 3. is yes, what installation directories have you
chosen?
5. Where did you install Python(x,y) itself?
default path
6. Have you installed Python(x,y):
For "All users"
7. What is your operating system?
Windows 7
Windows 8.1
8. Is the operating system 64 bit?
Yes
9. When you installed Python(x,y), were you logged in as :
administrator of the machine
10. If you are using Windows Vista/7, have you installed Python(x,y):
simply by double-clicking on the installer
11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y) (multiple answers are possible):
I didn't do anything, installed Python(x,y) directly
What steps will reproduce the problem?
Bundle an application depending on h5py with py2exe and try to run it on a
clean machine where you don't have admin privileges. The executable should be
single file runnnig as portable app, i.e. there should be no additional
dependencies/software installations required. Visual Studio runtime dlls are
bundled inside the executable. The app will crash with Windows side-by-side
configuration error.
Background:
The h5py version shipping with python(x,y) requires the vc redistributable
package version 9.0.30729.6161 whereas the python interpreter and all other
binary libs require 9.0.21022.8.
Simple fix is to install the matching redistributable package on the target
machine - requires admin privileges and an additional file to ship and
therefore no option.
Next attempt was to use manifest files pointing at the right versions. I
finally managed to get around all python and DLL-import related errors, however
the app chrashed with some ntdll.dll error.
Solution:
Use h5py from pypi which was compiled against the correct vc redistributable
package. So I suggest to ship that version with python(x,y).
Sebastian
Original issue reported on code.google.com by sebavo...@googlemail.com on 9 Feb 2015 at 11:10
Reactions are currently unavailable