pip django-lfs 给出错误
pip django-lfs gives error
我正在尝试在我的电脑上安装 Django-lfs(ubuntu 14.04 LTS)。
我试过了
sudo pip wheel django-lfs
但它给了我以下错误:
Collecting django-paypal==0.1.2.lfs-2 (from django-lfs)
Could not find a version that satisfies the requirement django-paypal==0.1.2.lfs-2 (from django-lfs) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5)
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external django-paypal to allow).
No matching distribution found for django-paypal==0.1.2.lfs-2 (from django-lfs)
然后我用了更强的命令
sudo pip wheel --allow-all-external django-lfs
解决了这个问题,但是 pip 再次给我以下错误:
Collecting django-paypal==0.1.2.lfs-2 (from django-lfs)
Could not find a version that satisfies the requirement django-paypal==0.1.2.lfs-2 (from django-lfs) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5)
Some insecure and unverifiable files were ignored (use --allow-unverified django-paypal to allow).
No matching distribution found for django-paypal==0.1.2.lfs-2 (from django-lfs)
然后我使用了这个命令:
sudo pip wheel --allow-all-external --allow-unverified django-paypal django-lfs
但它并没有改变任何东西,我又遇到了最后一个错误,我想可能是 pip 的命令链接顺序导致了问题,所以在下面输入命令:
sudo pip wheel --allow-unverified django-paypal --allow-all-external django-lfs
同样它没有改变任何东西,我在这个命令上遇到的错误与之前的两个命令相同。
我的pip版本是1.7.2,我用的是python2.7.6
看来 pip 的 wheel 命令有问题,我想确保我没有做错任何事情。
我手动下载了所需的 django-paypal 并从其 .whl 文件中安装了它,然后在下面输入了命令并成功地安装了 django-lfs
sudo pip install django-lfs
但我想知道是否需要向 pip 开发人员提及,或者我只是犯了错误,导致无法成功使用 django-lfs。
我遇到了同样的错误,但还有另一种方法对我有用。
使用 git clone https://github.com/diefenbach/django-lfs.git
从 github 克隆它
然后python setup.py install
..
完毕。
祝你好运。 ;)
我正在尝试在我的电脑上安装 Django-lfs(ubuntu 14.04 LTS)。 我试过了
sudo pip wheel django-lfs
但它给了我以下错误:
Collecting django-paypal==0.1.2.lfs-2 (from django-lfs) Could not find a version that satisfies the requirement django-paypal==0.1.2.lfs-2 (from django-lfs) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5)
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external django-paypal to allow).
No matching distribution found for django-paypal==0.1.2.lfs-2 (from django-lfs)
然后我用了更强的命令
sudo pip wheel --allow-all-external django-lfs
解决了这个问题,但是 pip 再次给我以下错误:
Collecting django-paypal==0.1.2.lfs-2 (from django-lfs) Could not find a version that satisfies the requirement django-paypal==0.1.2.lfs-2 (from django-lfs) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5)
Some insecure and unverifiable files were ignored (use --allow-unverified django-paypal to allow).
No matching distribution found for django-paypal==0.1.2.lfs-2 (from django-lfs)
然后我使用了这个命令:
sudo pip wheel --allow-all-external --allow-unverified django-paypal django-lfs
但它并没有改变任何东西,我又遇到了最后一个错误,我想可能是 pip 的命令链接顺序导致了问题,所以在下面输入命令:
sudo pip wheel --allow-unverified django-paypal --allow-all-external django-lfs
同样它没有改变任何东西,我在这个命令上遇到的错误与之前的两个命令相同。
我的pip版本是1.7.2,我用的是python2.7.6
看来 pip 的 wheel 命令有问题,我想确保我没有做错任何事情。
我手动下载了所需的 django-paypal 并从其 .whl 文件中安装了它,然后在下面输入了命令并成功地安装了 django-lfs
sudo pip install django-lfs
但我想知道是否需要向 pip 开发人员提及,或者我只是犯了错误,导致无法成功使用 django-lfs。
我遇到了同样的错误,但还有另一种方法对我有用。
使用 git clone https://github.com/diefenbach/django-lfs.git
然后python setup.py install
..
完毕。
祝你好运。 ;)