<p>我尝试使用pip2tgz来构建一个pipPI兼容的包,以便安装在未连接的机器上。我正在使用python2.7。已验证pip2tgz正在从中运行。当我试图添加,例如,south包时,pip2tgz下载文件south-0.8.4-py2.py3-none-任何原因. dir2pi不为该文件编制索引,在目标计算机上,当我尝试安装south时,我收到错误消息:</p>
<pre><code>OSError: [Errno 2] No such file or directory: '/data/www/pkgs/simple/south/'
</code></pre>
<p>pip2tgz下载包时是否可能不尊重python版本?我能强迫它坚持tgz格式吗?在</p>