python3学习手册com/simple --trusted-host xxx.com ②写入配置文件 在当前用户家目录下创建.pip目录,其下创建pip.conf文件 (windows为家目录下的pip目录下创建pip.ini文件) # mkdir ~/.pip # vi ~/.pip/pip.conf [global] index-url=h�ps://xxx.com/simple trusted-host=xxx trusted-host=xxx.com proxy=h�p://x.x.x.x:3128 [install] trusted-host=xxx.com ★国内的pip源地址: h�p://mirrors.aliyun.com/pypi/simple h�ps://pypi.tuna.tsinghua.edu.cn/simple ★python2.7安装pip命令 # curl h�ps://bootstrap 248:7788/simple/ ★客户端使用此pipy源 # pip3 install paramiko -i h�p://10.99.1.248:7788/simple/ --trusted-host 10.99.1.248 #上图可见成功了 ★python创建虚拟环境 有时在同一台服务器上安装多个python包,可能会产生依赖冲突问 题,可以通过创建虚拟环境来0 码力 | 213 页 | 3.53 MB | 1 年前3
DoD CIO Enterprise DevSecOps Reference Design - SummaryDoD Enterprise DevSecOps Reference Design from the DoD CIO – A Summary Content referenced from: https://dodcio.defense.gov/Portals/0/Documents/DoD%20Enterprise%20DevSecOps%20Reference %20Design%20v1.0_Public%20Release0 码力 | 8 页 | 3.38 MB | 5 月前3
共 2 条
- 1













