PIP和SlikSVN代理

时间:2011-02-23 00:01:35

标签: python svn proxy pip

我正在尝试使用PIP签出一个subversion存储库,因为我在代理下我使用--proxy参数调用PIP:

pip install svn+http://django-compress.googlecode.com/svn/trunk/ --proxy=myproxy:8080

虽然PIP本身在代理下工作正常,但它看到它没有将代理参数传递给SVN客户端:

Downloading/unpacking svn+http://django-compress.googlecode.com/svn/trunk/
  Checking out http://django-compress.googlecode.com/svn/trunk/ to c:\users\canassa\appdata\local\temp\pip-x_w9ct-build
svn: OPTIONS of 'http://django-compress.googlecode.com/svn/trunk': could not connect to server (http://django-compress.googlecode.com)
  Complete output from command "C:\Program Files\SlikSvn\bin\svn.exe" checkout -q http://django-compress.googlecode.com/svn/trunk/ c:\users\canassa\appdata\local\temp\pip-x_w9ct-build:

----------------------------------------
Command "C:\Program Files\SlikSvn\bin\svn.exe" checkout -q http://django-compress.googlecode.com/svn/trunk/ c:\users\canassa\appdata\local\temp\pip-x_w9ct-build failed with error code 1
Storing complete log in C:\Users\canassa\AppData\Roaming\pip\pip.log

为了使事情变得更糟,我在Windows环境下使用SilkSVN客户端。我还必须每天关闭代理几次,因为它是笔记本电脑,我必须将它与无线连接,不使用代理。

我的问题是,是否有办法在PIP和Windows下处理SlikSvn代理。最好在我需要时轻松关闭它。

1 个答案:

答案 0 :(得分:2)

这是一个开放的错误[1],现在还没有解决这个问题。

如果您找到答案,请在pip的问题跟踪器中发表评论。

[1] - https://github.com/pypa/pip/issues/227