SVN access with pysvn under Cygwin (Installation problems)
Jason Tishler
jason at tishler.net
Wed Jul 30 15:30:21 EDT 2008
Andy,
On Wed, Jul 30, 2008 at 07:46:32AM -0700, Andy Dingley wrote:
> Trying to install the pysvn module I'm running into problems getting
> it to work under Cygwin. Works fine from a Windows command prompt,
> with both the svn_cmd.py example and my own Python code. Under Cygwin
> though I just get import failures. pysvn/__init__.py seems to be
> invoked happily enough, but then fails when it tries to import
> _pysvn_2_5.pyd
>
> $ python svn_cmd.py
> Traceback (most recent call last):
> File "svn_cmd.py", line 10, in <module>
> import pysvn
> File "/usr/lib/python2.5/pysvn/__init__.py", line 104, in <module>
> import _pysvn_2_5
> ImportError: No module named _pysvn_2_5
>
> Is there some trick to getting .pyd to work under Cygwin?
You need to build (and install) pysvn under Cygwin. The pre-built
Windows version will not work under Cygwin.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
More information about the Python-list
mailing list