如何从Whl文件安装pip [英] how to install pip from whl file
本文介绍了如何从Whl文件安装pip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个名为:
pip-19.2.2-py2.py3-none-any.whl
我解压缩了这个文件,结果产生了以下两个目录:
I unzipped this and this resulted in the following 2 directories:
pip
pip-19.2.2.dist-info
我阅读了其他答案,找到了setup.py文件并运行
I read on other answers that you locate the setup.py file and run
python setup.py install
但是我找不到文件吗?
推荐答案
您可以像这样直接使用滚轮:
You can use the wheel directly like this:
python3 ./pip-19.2.2-py2.py3-none-any.whl/pip install ./pip-19.2.2-py2.py3-none-any.whl
这篇关于如何从Whl文件安装pip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文