当前位置:  开发笔记 > 编程语言 > 正文

Pip:找不到版本.找不到匹配的分布

如何解决《Pip:找不到版本.找不到匹配的分布》经验,为你挑选了1个好方法。

我正在尝试安装Flask-ACL:https: //mikeboers.github.io/Flask-ACL

$ pip search acl | grep -i flask

Flask-ACL (0.0.1) - Access control lists for Flask.
flask-miracle-acl (0.2) - The fabric between the Flask framework and Miracle ACL

Flask-Sandbox (0.1.0)- ACL Route controls for Flask
Flask-SimpleACL (1.2)- Simple ACL extension


$ pip install Flask-ACL

Collecting Flask-ACL
Could not find a version that satisfies the requirement Flask-ACL (from versions: )
No matching distribution found for Flask-ACL

这有什么不对?

PS Pip几分钟前升级了.

更新:

$ python --version
Python 2.7.3

我在virtualenv下运行它.

pip install -Iv Flask-ACL

Collecting Flask-ACL
1 location(s) to search for versions of Flask-ACL:
* https://pypi.python.org/simple/flask-acl/
Getting page https://pypi.python.org/simple/flask-acl/
Looking up "https://pypi.python.org/simple/flask-acl/" in the cache
Current age based on date: 507
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The response is "fresh", returning cached response
600 > 507
Analyzing links from page https://pypi.python.org/simple/flask-acl/
Could not find a version that satisfies the requirement Flask-ACL (from versions: )

清理...找不到Flask-ACL的匹配分布

我可以看到,Pypi上没有这样的软件包:

https://pypi.python.org/simple/flask-acl/

但这个存在:

https://pypi.python.org/pypi/Flask-ACL

我有什么问题pip



1> abccd..:

Flask-ACL的开发人员犯了一个错误,他们没有设法将Flask-ACL库上传到PyPi(其中pip搜索模块).所以你必须使用他们的GitHub页面中的pip来安装它.

你可以这样做:

pip install "git+https://github.com/mikeboers/Flask-ACL"


如果您查看https://pypi.python.org/pypi/Flask-ACL,则没有.whl链接.
推荐阅读
罗文彬2502852027
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有