[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problems with python 2.5 bindings on Windows

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: Mon, 4 Aug 2008 10:02:58 +0200

Hi all python Windows gurus.

I'm having problems with python bindings on windows box. I used to have
Python 2.3 and it worked like a charm, but now I upgraded to Python 2.5,
since only this version is pre-compiled for Windows.

I downloaded
http://subversion.tigris.org/files/documents/15/43251/svn-win32-1.5.1.zip
and
http://subversion.tigris.org/files/documents/15/43253/svn-win32-1.5.1_py25.zip

Installed Python 2.5.2 for Windows from python.org,
pywin32-212.win32-py2.5.exe from sourceforge

Unziped svn-win32-1.5.1_py25.zip to C:\Program
Files\Python25\Lib\site-packages and this is what happens

>>> import svn.repos
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Program Files\Python25\lib\site-packages\svn\repos.py", line
19, in <module>
    from libsvn.repos import *
  File "C:\Program Files\Python25\lib\site-packages\libsvn\repos.py", line
5, in <module>
    import _repos
ImportError: No module named _repos

I even tried to add C:\Program Files\Python25\Lib\site-packages\libsvn to
PythonPath (some things that I read on the Internet seemed to hint this
might solve the problems), but still no luck.

All I'm trying to do is get the ViewVC to work.

Can someone with more Python experience please help?

Thanks in advance and best regards,

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
Received on 2008-08-04 10:03:35 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.