环境:阿里云ubuntu20.04服务器,使用anaconda配置完成虚拟环境
报错信息:
gcc: error: /home/nethriao/.conda/envs/typhenv/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a: No such file or directory
*** error linking uWSGI ***
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for uwsgi
大概是GCC出问题了,少了点环境
解决方案
conda install -c conda-forge uwsgi 即可解决
然后再pip