Op vrijdag 2 oktober 2015 17:05:05 UTC+2 schreef Daniel Lam:
>
> Hi buddies,
>
> I am using pip to install the source code with the following command in 
> WinXP.
>        $ pip install tryton
>
> Unfortunately I meet the error message telling msvcr90.dll is missing. 
> Same problem is met when I use Setup.py to install with downloaded 
> subdirectory. I tried to run pip in Cygwin environment and found the same 
> problem is told. It seems to be a popular problem for developers to put in 
> the files msvcr90.dll, msvcp90.dll and msvcm90.dll. I tried to put them in 
> the same folder as setup.py but it just helped to progress a bit and the 
> problem comes out again. Please kindly help on it.
>
>
> I have been struggling with this a year ago - from what I wrote down in my 
notes I managed to solve the problem as follows: it is not a tryton problem
= Python installation = 

When Python 2.6.2 is getting installed "for all users", CRT assembly 
is only copied into WINDOWS\WinSxS. No CRT assembly's manifest or dlls 
are copied into Python's folder. 

When Python 2.6.2 is getting installed "just for me", no CRT assembly 
is copied into WINDOWS\WinSxS. CRT assembly's manifest and msvcr90.dll 
are copied into Python's folder. Files msvcm90.dll, msvcp90.dll are 
not copied there. 

Perhaps, the latter is an error. All assembly files, pointed by the 
Microsoft.VC90.CRT manifest should be included into installation. 

The Microsoft.VC90.CRT assembly manifest which is installed into 
WINDOWS\WinSxS is different from the assembly manifest installed into 
Python's folder. To deploy wxWidgets programs we need 
Microsoft.VC90.CRT manifest which is installed into Python's folder. 
You also need all msvcm90.dll, msvcp90.dll and msvcr90.dll files. 


One of the ways to get all needed Microsoft.VC90.CRT assembly files is 
to: 

* install Python 2.6.2 with "just for me" option; 
* copy Python26\Microsoft.VC90.CRT.manifest to a temporary location; 
* uninstall Python 2.6.2 and delete Python26 folder if it was left by 
the uninstaller; 
* install Python 2.6.2 with "for all users" option; 
* copy all files from the WINDOWS\WinSxS 
\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375 
folder into Python26 folder; 
* copy Microsoft.VC90.CRT.manifest file from your temporary location 
into Python26 folder. 

Now you can install py2exe and wxPython and whatever else your project 
requires :)
  
when you install tryton 

UNCOMMENTED THE LINES IN THE SETUP.PY

 

 #   data_files.append(('', ['msvcr90.dll', 'msvcp90.dll', 'msvcm90.dll']))

 #  manifest = read('Microsoft.VC90.CRT.manifest')

 #   args['windows'][0]['other_resources'] = [(24, 1, manifest)]

 



Regards,
> Daniel
>

Reply via email to