在 Ubuntu 18.04 上安装 uwsgi 时出现问题
Problem while installing uwsgi on Ubuntu 18.04
我想在我的系统中安装 uwsgi
Ubuntu 18.04.
我试过 pip install uwsgi
,但它给我这个错误:
ERROR: Command errored out with exit status 1:
Make sure that you have installed Python development packages for your operating system.
Command output:
Collecting uwsgi Downloading uWSGI-2.0.19.1.tar.gz (803 kB)
Using legacy 'setup.py install' for uwsgi, since package 'wheel' is not installed.
Installing collected packages: uwsgi
Running setup.py install for uwsgi: started
Running setup.py install for uwsgi: finished with status 'error'
如何摆脱这个错误?
只需安装 python 个开发文件,如错误所述。
运行这个:
sudo apt install python3-dev
我想在我的系统中安装 uwsgi
Ubuntu 18.04.
我试过 pip install uwsgi
,但它给我这个错误:
ERROR: Command errored out with exit status 1:
Make sure that you have installed Python development packages for your operating system.
Command output:
Collecting uwsgi Downloading uWSGI-2.0.19.1.tar.gz (803 kB)
Using legacy 'setup.py install' for uwsgi, since package 'wheel' is not installed.
Installing collected packages: uwsgi
Running setup.py install for uwsgi: started
Running setup.py install for uwsgi: finished with status 'error'
如何摆脱这个错误?
只需安装 python 个开发文件,如错误所述。
运行这个:
sudo apt install python3-dev