Hi:
   I've installed SVN it works fine
I think I've compiled it with swig-python. I'm not certain of that however. When I make swig-py and make install-swig-py everything
   goes correctly, at least I don't get any errors.

   When I do trac-admin /usr/local/trac  initenv
   I get the following error.

   Creating and Initializing Project
Failed to initialize environment. No module named svn
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 616, in do_initenv
   repos = self.__env.get_repository()
File "/usr/lib/python2.3/site-packages/trac/env.py", line 155, in get_repository
   from trac.versioncontrol.svn_fs import SubversionRepository
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 25, in ?
   from svn import fs, repos, core, delta
ImportError: No module named svn

I'm sure this has something to do with Python's search path. Python is in /usr/lib/python
svn, trac, postgresql   are all in /usr/local/lib

I don't know Python well enough to know how to modify the search path.
I'm pretty sure /usr/lib is on it.
I don't know exactly which module Python is looking for so I don't know how to put it
or a link to it in /usr/lib.

Can someone help?

Ernie


--

"Keep an open mind, but not so open that your brain falls out." (Richard Feynman)
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to