在我的Ubutntu机器上,我有python 2.7和3.5。我根据指示here
安装了pysvnsudo apt-get install python-svn
sudo apt-get install svn-workbench
Python 2.7看到它,但不是3.5:
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysvn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'pysvn'
>>>