suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

windows installer is missing msvcr71.dll #92

Closed suever closed 9 years ago

suever commented 9 years ago

From 01100011...@gmail.com on October 16, 2010 23:05:11

What steps will reproduce the problem? 1. download the latest pydicom release installer (pydicom-0.9.4-1.win32.exe)

  1. try to run the installer on clean windows 7
  2. 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: http://code.google.com/p/pydicom/issues/detail?id=92

suever commented 9 years ago

From 01100011...@gmail.com on October 16, 2010 20:07:51

Maybe instead of static linking, MSI or any other off-the-box installer utility..?

suever commented 9 years ago

From 01100011...@gmail.com on October 16, 2010 20:23:58

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

suever commented 9 years ago

From darcymason@gmail.com on October 17, 2010 18:22:52

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.

Status: Done

suever commented 9 years ago

From osvens...@gmail.com on October 26, 2010 13:48:04

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

suever commented 9 years ago

From darcymason@gmail.com on October 26, 2010 18:39:27

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-python-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.

Status: Started
Labels: -Priority-Medium Priority-High

suever commented 9 years ago

From osvens...@gmail.com on October 27, 2010 12:27:23

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.

suever commented 9 years ago

From darcymason@gmail.com on October 27, 2010 19:30:02

.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.

Attachment: pydicom-0.9.5.win32.exe

suever commented 9 years ago

From osvens...@gmail.com on October 28, 2010 08:44:13

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

suever commented 9 years ago

From darcymason@gmail.com on November 04, 2010 18:12:29

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.

Status: Verified

suever commented 9 years ago

From osvens...@gmail.com on August 13, 2012 16:44:26

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.