[x-alert type="primary"]➭ Windows 10➭ Python3➭ pip3[/x-alert]安装 pip# 安装方法一 curl https://bootstrap.pypa.io/get-pip.py | python# 安装方法二 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py # 下载安装脚本 python get-pip.py # 运行安装脚本pip 清华大学开源软件镜像[x-card title="常用的国内镜像源" fold="on"]阿里云开源镜像站 ——> https://mirrors.aliyun.com/网易开源镜像站 ——> https://mirrors.163.com/搜狐开源镜像 ——> https://mirrors.sohu.com/浙江大学开源镜像站 ——> https://mirrors.zju.edu.cn/清华大学开源软件镜像站 ——> https://mirrors.tuna.tsinghua.edu.cn/中
#我的系统是 Centos7 #在CentOS上,你需要postgres开发包: yum install python-devel postgresql-devel #然后在 pip install psycopg2 就没有问题.
Hawk
别固执的认为某事必须 !