Centos下uWSGI安装失败

 

......省略部分Log......

    collect2: error: ld returned 1 exit status
    *** error linking uWSGI ***
    
    ----------------------------------------
Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-s_ovevcd/uwsgi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-drh7w5sb/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-s_ovevcd/uwsgi/

 

遇到以上问题可以尝试先卸载pcre-devel,执行以下命令再安装即可
sudo yum remove pcre-devel

你可能感兴趣的:(服务器)