我的烧瓶包装都是tar ball格式和.whl格式。使用pip命令安装失败。下面的命令演示了失败
[root@localhost ~]# pwd
/root
[root@localhost ~]# ls -l | grep -i flask
-rw-r--r-- 1 root root 91364 May 28 06:56 Flask-1.0.2-py2.py3-none-any.whl
-rw-r--r-- 1 root root 644534 May 30 03:44 Flask-1.0.2.tar.gz
[root@localhost ~]#
[root@localhost ~]# pip install --no-index --find-links=file:////root Flask-1.0.2.tar.gz
Looking in links: file:////root/
Processing ./Flask-1.0.2.tar.gz
Collecting Werkzeug>=0.14 (from Flask==1.0.2)
Could not find a version that satisfies the requirement Werkzeug>=0.14 (from Flask==1.0.2) (from versions: )
No matching distribution found for Werkzeug>=0.14 (from Flask==1.0.2)
[root@localhost ~]#
[root@localhost ~]# pip install --no-index --find-links=file:////root Flask-1.0.2-py2.py3-none-any.whl
Looking in links: file:////root/
Processing ./Flask-1.0.2-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from Flask==1.0.2)
Could not find a version that satisfies the requirement itsdangerous>=0.24 (from Flask==1.0.2) (from versions: )
No matching distribution found for itsdangerous>=0.24 (from Flask==1.0.2)
如果有人对此有任何想法,请告诉我