一、安装Riot

安装Rito出出问题
一、CentOS7 上
执行

pip install matrix-synapse[all]

出现问题


    Error: pg_config executable not found.
    
    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:
    
        python setup.py build_ext --pg-config /path/to/pg_config build ...
    
    or with the pg_config option in 'setup.cfg'.
    
    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.
    
    For further information please check the 'doc/src/install.rst' file (also at
    ).
    
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-1Zm57d/psycopg2/

解决办法

yum install libpqxx-devel python-devel

你可能感兴趣的:(一、安装Riot)