【发布时间】:2017-08-16 16:26:05
【问题描述】:
我正在尝试安装 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
这里有什么问题?
附: 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 有什么问题?
【问题讨论】: