Re: Problems with python 2.5 bindings on Windows
From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: Mon, 4 Aug 2008 14:30:36 +0200
Thank you very much. That worked. It was such an "obvious" solution I
Br,
--- 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 Dominik Guder <osc_at_guder.org> wrote on 04.08.2008 13:23:38: > > > Miha Vitorovic wrote: > > > > > >>>> 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, > > > > > > Hi, > > starting from 2.5 (I think) python don't load *.dlls by default they must be > renamed to *.pyd. > I use following solution: > - Open a command shell > - Goto your libsvn dir (C:\Program Files\Python25\Lib\site-packages\libsvn) > - rename *.dll to *.pyd: for %i in (*.dll) do copy %i %~dpni.pyd > > IMHO this should be taken into account by the python 2.5 build script. > > hth > > Dominik > > -- > View this message in context: http://www.nabble.com/Problems-with- > python-2.5-bindings-on-Windows-tp18807167p18809452.html > Sent from the Subversion Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org > For additional commands, e-mail: users-help_at_subversion.tigris.org >Received on 2008-08-04 14:31:01 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.