1、使用pip在下paramiko离线下载(包含依赖包下载)
bash
pip download flask --platform manylinux1_x86_64 --python-version 3.8 --implementation cp --abi cp38 --only-binary=:all: -d D:\Temp
2、下载成功后,包含安装包(如果时间不一致,可能会部分版本不一致,以最终下载版本为准)如下:
bash
MarkupSafe-2.1.5.tar.gz
werkzeug-3.0.1-py3-none-any.whl
Jinja2-3.1.3-py3-none-any.whl
itsdangerous-2.1.2-py3-none-any.whl
zipp-3.18.0-py3-none-any.whl
click-8.1.7-py3-none-any.whl
blinker-1.7.0-py3-none-any.whl
importlib_metadata-7.0.2-py3-none-any.whl
flask-3.0.2-py3-none-any.whl
3、按照顺序依次安装。使用pip install 进行安装。
bash
pip install MarkupSafe-2.1.5.tar.gz
pip install werkzeug-3.0.1-py3-none-any.whl
pip install Jinja2-3.1.3-py3-none-any.whl
pip install itsdangerous-2.1.2-py3-none-any.whl
pip install zipp-3.18.0-py3-none-any.whl
pip install click-8.1.7-py3-none-any.whl
pip install blinker-1.7.0-py3-none-any.whl
pip install importlib_metadata-7.0.2-py3-none-any.whl
pip install flask-3.0.2-py3-none-any.whl