2016-07-26 222 views
0

我正在尝试安装Trac插件,并且不想使用easy_install,因为没有以这种方式安装软件包的卸载。PIP安装错误[url]

所以我发出:

# pip install https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4 

而发生这种情况:

Collecting https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4 
    Using cached https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4 
    Cannot unpack file /tmp/pip-fOSusX-unpack/acct_mgr-0.4.4 (downloaded from /tmp/pip-B6tUyR-build, content-type: text/html; charset=UTF-8); cannot detect archive format 
Cannot determine archive format of /tmp/pip-B6tUyR-build 

当我浏览https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4/,我看到一个服务器上的一些解压缩文件,而不是压缩文件。

有没有一种方法可以下载所有这些,将它们存档为tar.gz或其他东西,然后点击即可安装?

或者是否有一个标志与点可以让它与非存档包一起使用?

+0

尝试'PIP安装的svn + https://开头trac-hacks.org/SVN/accountmanagerplugin'。 – edwinksl

回答

1

你需要指定方案svn+https

# pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4