uswgi安装的辛酸路

uswgi安装的辛酸路

1
pip install uswgi

死活报错

安装了python3.7-dev也没有用。

conda更惨,conda install uswgi直接说找不到

那源码安装吧,还是报错。

还好源码安装的报错简单了,找到了这个https://github.com/unbit/uwsgi/issues/1770

If you use conda you should probably install uwsgi from conda itself. Or use the same compiler that your conda python has been built with.

牛逼,然后发现conda安装没这么简单

https://anaconda.org/conda-forge/uwsgi

1
conda install -c conda-forge uwsgi
2
conda install -c conda-forge libiconv

注意在 root 权限下