【Python3】python安装 matrix-synapse[all] 报错’Error: pg_config executable not found‘

执行命令

pip3 install matrix-synapse[all]

错误信息:

解决办法:

yum install postgresql-devel*

pip3 install psycopg2 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

猜你喜欢

转载自www.cnblogs.com/richerdyoung/p/12397377.html