2017-03-23 4 views
3

Ich versuche Flask-ACL zu installieren: https://mikeboers.github.io/Flask-ACLPip: konnte keine Version finden. Keine passende Verteilung gefunden

$ 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 

Was ist hier falsch?

P.S. Pip wurde vor ein paar Minuten aktualisiert.

UPDATE:

$ python --version 
Python 2.7.3 

ich es unter virtualenv renne.

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:) 

Aufräumen ... keine passende Verteilung für Flask-ACL gefunden

Wie ich sehen kann, gibt es keine solche Paket auf PyPI:

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

aber diese existieren:

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

Was ist los mit meinem pip?

Antwort

3

Die Entwickler von Flask-ACL haben einen Fehler gemacht, dass es ihnen nicht gelungen ist, die Flask-ACL-Bibliothek auf PyPi hochzuladen (wo pip nach Modulen sucht). Sie müssen es also mit pip auf ihrer GitHub-Seite installieren.

Sie können wie folgt so tun:

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

ich diese Abhilfe wissen, aber darf ich diese installieren, ohne direkte Verbindung mit 'pip install' wie für andere Pakete? – smart

+2

Wenn Sie sich https://pypi.python.org/pypi/Flask-ACL ansehen, gibt es keine .whl-Links dazu. – abccd

+0

Dies ist die Ursache des Problems? – smart

Verwandte Themen