python离线安装download无法使用如何得到安装包
重点是将下载路径除去最后一个用网页打开,即可得到安装包
ttps://mp.csdn.net/configure)页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片
.
.\pip install -r .\requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting lxml4.4.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a2/bf/6cb6118b6492104723afac0f5c149877c76f03254802448cea1ea37c3781/lxml-4.4.1-cp27-cp27m-win_amd64.whl (3.6MB)
|████████████████████████████████| 3.6MB 585kB/s
Collecting python-docx0.8.10
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e4/83/c66a1934ed5ed8ab1dbb9931f1779079f8bca0f6bbc5793c06c4b5e7d671/python-docx-0.8.10.tar.gz (5.5MB)
|████████████████████████████████| 5.5MB 92kB/s
Installing collected packages: lxml, python-docx
Running setup.py install for python-docx … done
Successfully installed lxml-4.4.1 python-docx-0.8.10
重点是将下载路径除去最后一个用网页打开,即可得到安装包