# python环境配置 ## 获取python ## 安装pip ```bash dpkg -i offline/python3-pip ``` ## pip换源 ```bash pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ ``` ## venv创建虚拟环境 ##