Error during library import in Python (Windows)

327 views Asked by At

I am trying to configure svn hook for email notification using mailer.py script from apache, but it always crash on import of svn libs. I try two ways of installing svn and python. I try to install everything manually using command line and use CollableNet installer that have preinstalled Python and all libs I need but result is the same.

Now I try to import one library from hole package that I need using python in command line and I have such response:

>>> import svn.core
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named svn.core

I try to fix it using:

1) import sys; sys.path.append("C:\csvn\lib\svn-python\svn")

and

2) C:\csvn\lib\svn-python\svn>python "\__init__.py" install

But it didn't help. For now I have no package with setup.py to install it.

I spend a lot of time on this task, and going crazy a little). Please give me any suggestion how to fix it.

0

There are 0 answers