我想在Linux服务器(SUSE Linux Enterprise Server 11)上使用svn,并安装svn 1.8.19,但是当我使用svn update时,出现问题:

   svn: E170000: Unrecognized URL scheme for 'http://.....'

这些是svn的信息:
svn, version 1.8.19 (r1800620)
compiled Aug 31 2017, 16:07:39 on x86_64-unknown-linux-gnu

Copyright (C) 2017 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

可以使用以下存储库访问(RA)模块:
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

然后我发现我需要安装scons-2.5.1和serf-1.3.9,但是安装scons-2.5.1之后,我得到了一个错误:
SCons import failed. Unable to find engine files in:
 /usr/local/bin/../engine
 /usr/local/bin/scons-local-2.5.1
 /usr/local/bin/scons-local
 /usr/local/lib/scons-2.5.1
 /usr/lib/scons-2.5.1
 /usr/local/lib/scons-2.5.1
 /usr/local/lib/python2.6/site-packages/scons-2.5.1
 /usr/lib/python2.6/site-packages/scons-2.5.1
 /usr/local/lib/python2.6/site-packages/scons-2.5.1
 /usr/lib64/scons-2.5.1
 /usr/local/lib/scons
 /usr/lib/scons
 /usr/local/lib/scons
 /usr/local/lib/python2.6/site-packages/scons
 /usr/lib/python2.6/site-packages/scons
 /usr/local/lib/python2.6/site-packages/scons
 /usr/lib64/scons
 Traceback (most recent call last):
 File "/usr/local/bin/scons", line 190, in <module>
 import SCons.Script
 ImportError: No module named SCons.Script

最佳答案

您的svn客户端未构建为支持http和https。它缺少添加http和https支持的serf(libserf)库。

关于python - 如何解决这个问题? SVN 1.8.19 : E170000: Unrecognized URL scheme,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46012459/

10-15 20:47