点:找不到版本.找不到匹配的分布 [英] Pip: could not find a version. No matching distribution found

查看:103
本文介绍了点:找不到版本.找不到匹配的分布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to install 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

这是怎么了?

P.S.几分钟前Pip已升级.

P.S. Pip was upgraded a few minutes ago.

更新:

$ python --version
Python 2.7.3

我正在virtualenv下运行它.

I'm running it under 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的匹配分布

Cleaning up... No matching distribution found for Flask-ACL

如我所见,Pypi上没有这样的软件包:

As I can see, there is no such package on Pypi:

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

但是这个存在:

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

我的pip有什么问题?

推荐答案

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

The developers of Flask-ACL made a mistake that they did not manage to upload the Flask-ACL library onto PyPi(where pip searches for modules). so you will have to install it using pip from their GitHub page.

您可以这样做:

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

这篇关于点:找不到版本.找不到匹配的分布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆