pip安装[url]出错



我正试图为Trac安装一个插件,不想使用easy_install,因为以这种方式安装的软件包无法卸载。

所以我发布了:

# 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或其他什么地方,然后pip就可以安装了?

或者有没有一个带有pip的标志可以让它与未归档的包一起工作?

您需要指定方案svn+https:

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

最新更新