SeiictyUsui / pydicom

Automatically exported from code.google.com/p/pydicom
0 stars 0 forks source link

windows installer is missing msvcr71.dll #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the latest pydicom release installer (pydicom-0.9.4-1.win32.exe)
2. try to run the installer on clean windows 7
3. get the msvcr71.dll missing error
What is the expected output? What do you see instead?

What version of the product are you using?

pydicom-0.9.4-1.win32.exe / windows 7

Please provide any additional information below.

According to Microsoft, msvcr71.dll should bot be placed in system wide folder, 
but included with the target application: http://support.microsoft.com/kb/326922
Please bunlde the dll into installer (static linking?)

Original issue reported on code.google.com by 01100011...@gmail.com on 17 Oct 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Maybe instead of static linking, MSI or any other off-the-box installer 
utility..?

Original comment by 01100011...@gmail.com on 17 Oct 2010 at 3:07

GoogleCodeExporter commented 9 years ago
pydicom-0.9.5rc1.win32.exe is working fine on windows7! i hope the rc is stable 
enough to work..? issue soloved :-)

Original comment by 01100011...@gmail.com on 17 Oct 2010 at 3:23

GoogleCodeExporter commented 9 years ago
I don't know why the previous installer did not include that file, but I'm glad 
that the newer one does. I've just released 0.9.5 (identical to 0.9.5rc1 except 
for version numbers) and the installer was created on the same machine so 
hopefully the needed file will also be included. The 64-bit version installed 
ok for me on Win7 python 2.6.

Original comment by darcymason@gmail.com on 18 Oct 2010 at 1:22

GoogleCodeExporter commented 9 years ago
Hi there,
I'm on a 32-bit WinXP SP3 install and this problem is still occurring. 

---------------------------
pydicom-0.9.5.win32.exe - Unable To Locate Component
---------------------------
This application has failed to start because MSVCR71.dll was not found. 
Re-installing the application may fix this problem. 
---------------------------
OK   
---------------------------

Original comment by osvens...@gmail.com on 26 Oct 2010 at 8:48

GoogleCodeExporter commented 9 years ago
This missing DLL problem is not specific to pydicom, but is one of windows 
installers -- found some info on this on the web, e.g. 
http://www.velocityreviews.com/forums/t342461-python-2-4-distutils-and-pure-pyth
on-packages.html. That discussion is from 2005, so it is talking about python 
2.4 vs 2.3, but the problem apparently relates to the version of MS Visual C++ 
used to create python itself on windows; the newer version makes installers 
that require that DLL, which is not available on Windows by default.

There is a suggested solution which is to build an installer for each python 
version. Seems awkward. I'll try more searching and reading to see if there is 
another way out.

The simple work-around is just to use easy_install rather than using the 
windows installer.

Original comment by darcymason@gmail.com on 27 Oct 2010 at 1:39

GoogleCodeExporter commented 9 years ago
Yes, I agree that this is a general problem with Windows apps (including 
installers). Microsoft aggravates the situation by not providing MSVCRT71.dll 
(and similar runtime DLLs) for download.

With regards to workarounds, it would help if there was a .zip file for 
download that contained the same files as the tarball. Then users could at 
least get pydicom installed using tools that are on a vanilla Windows install.

easy_install is nice if you have it installed already, but if you don't then 
it's just another thing to install.

Original comment by osvens...@gmail.com on 27 Oct 2010 at 7:27

GoogleCodeExporter commented 9 years ago
.zip file for pydicom 0.9.5 added to downloads page.
Also, attached to this issue is another pydicom windows installer, built with 
Activestate python2.6. Can someone try this to see if it resolves the problem 
(I can't reproduce it myself on my test systems). If it works out, I'll make 
that one the official windows download.

Original comment by darcymason@gmail.com on 28 Oct 2010 at 2:30

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for adding the .zip file.

I tested the pydicom-0.9.5.win32.exe attached to this issue and it works on the 
system were the official installer fails. I was able to install PyDicom 0.9.5 
with it. Would an installer built with Python 2.6 work for people running 
Python 2.5?

BTW I made a mistake in comment 6. I wrote this --
MSVCRT71.dll 
where I should have written this --
MSVCR71.dll

Original comment by osvens...@gmail.com on 28 Oct 2010 at 3:44

GoogleCodeExporter commented 9 years ago
I tested the new windows installer on python2.4 to python2.6 and it worked for 
those versions on my system. Replaced the windows installer file on the pydicom 
downloads page with that one.

Original comment by darcymason@gmail.com on 5 Nov 2010 at 1:12

GoogleCodeExporter commented 9 years ago
This problem is back. When using the 0.9.7 installer under Win7 I get the 
following:

---------------------------
pydicom-0.9.7.win32.exe - System Error
---------------------------
The program can't start because MSVCR71.dll is missing from your computer. Try 
reinstalling the program to fix this problem. 
---------------------------
OK   
---------------------------

FWIW, I'm on 32-bit Python 2.6 under Win7 x64. 

It's easy enough to work around by downloading the .zip file, unzip and running 
`python setup.py install`.

Original comment by osvens...@gmail.com on 13 Aug 2012 at 11:44