Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pysvn installer fails to detect Python installation

I have Python 2.7.2 installed in the default location, C:\Python27. I've downloaded pysvn 2.7 from http://pysvn.tigris.org/project_downloads.html > Windows installation kits. Pysvn Windows installer aborts on

pysvn requires Python 2.7 to be installed.

Quitting installation

I've tried both installer files, py27-pysvn-svn1612-1.7.4-1321.exe and py27-pysvn-svn1615-1.7.5-1360.exe. Neither of them works.

How can I convince the installer that I have Python 2.7 installed? How is the installer determining whether pysvn is installed or not?

like image 910
Juuso Ohtonen Avatar asked Jan 20 '12 12:01

Juuso Ohtonen


2 Answers

Did u perhaps install the 64-bit version of Python? If yes: Try the 32-bit installer.

Background: It seems like the 64-bit installer doesn't properly set the correct values in the windows registry (which is the place where PySVN tries to find Python).

like image 193
Andreas Avatar answered Sep 24 '22 05:09

Andreas


I tried this and it worked perfectly:

Copy HKLM\SOFTWARE​\Pyt​ho​n\Pyth​onCore\2​.7\In​​stallPath to HKCU\SOFTWARE​\Pyt​ho​n\Pyth​onCore\2​.7\In​​stallPath.

Same link as above, but a different solution is offered within the thread. It is a problem with the pysvn 32-bit installer looking in the wrong (?) place in the Registry for the installed Python version.

Edit: The 32-bit module still didn't work correctly with the 64-bit Python. The only solution for this is to use 32-bit Python with the module.

like image 25
pioniere Avatar answered Sep 23 '22 05:09

pioniere