M1-python3.8安装psycopg2
1、更新pip源python3 -m pip install --upgrade pip2、安装openssl这里要记住openssl的路径(下面要用),一般homebrew安装的文件路径都在/opt/homebrew/opt/目录下brew install openssl3、安装、启动postgresqlbrew install postgresqlbrew services start postgresql3、配置环境变量这里要使用上面的openssl路径export
原创
2021-06-15 12:25:59 ·
2182 阅读 ·
2 评论