1.问题现象:
通过 pip install uwsgi ,安装uwsgi,安装时,报错,报错截图如下:
2.系统版本:
(1)通过pipenv安装了虚拟环境
(2)python是使用 pyenv install 3.6.6 安装的python
3.做过的排查:
看另外一个提问说是没有安装python-devel,但是安装时如下报错:
(django_wx_mini_program) ~/project/django_wx_mini_program$ sudo apt-get install python36u-devel Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python36u-devel (django_wx_mini_program) ~/project/django_wx_mini_program$ sudo apt-get install python3-devel Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3-devel
查看pyenv install --list,有一个 3.6-dev 的包,难道是要在pyenv中安装这个dev环境吗?
或者是使用其他正确的命令来安装dev环境?