#2772: No module named svn
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: jonas
Type: defect | Status: closed
Priority: normal | Milestone:
Component: general | Version: 0.9.4
Severity: normal | Resolution: worksforme
Keywords: |
-----------------------+----------------------------------------------------
Comment (by eblot):
Replying to [comment:4 anonymous]:
> I already installed Subversion 1.3.2 so I should have SWIG then,
correct?
It would help if you specify which OS you're using, and which distribution
in case you run Linux.
* On Windows, the Python wrappers are available as an additionnal
package, available from the same directory than the regular binaries.
* On Linux, Python wrappers usually come within their own package (for
ex. on Debian you need to install '`python-subversion`' package)
* If you install from the sources (rebuilding Subversion), tools,
librairies, wrappers for various languages such as PERL and Python come
altogether bundled within the same archive.
This is why you need to specify which kind of installation you're using.
> how can one determine if SWIG is already installed within Subversion?
What files should I look for?
SWIG is the tool to generate the PERL/Python/... wrappers from the
original C/C++ source. You don't need SWIG if you do not want to recompile
the wrappers from the source. The "SWIG wrappers" means (here) the Python-
to-Subversion wrappers that have been generated with the help of SWIG.
Look in your Python site-packages directory: if the Python/Subversion
wrappers have been installed, you should see two directories named "`svn`"
and "`libsvn`".
Please ask further installation questions to the MailingList.
--
Ticket URL: <http://trac.edgewall.org/ticket/2772#comment:5>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets