我的环境:python3.8,ubuntu20.04
pycharm中使用python的虚拟环境下载uwsgi包失败:
pip install uwsgi
解决办法:
需要安装Python3.8开发文件:
sudo apt-get install python3.8-dev
上述命令将安装 Python 3 头文件以从源代码构建 uWSGI
之后再进到虚拟环境里安装uwsgi就可以了
pycharm中使用python的虚拟环境下载uwsgi包失败:
pip install uwsgi
需要安装Python3.8开发文件:
sudo apt-get install python3.8-dev
上述命令将安装 Python 3 头文件以从源代码构建 uWSGI
之后再进到虚拟环境里安装uwsgi就可以了