繁体   English   中英

在 Ubuntu 18.04 上安装 uwsgi 时出现问题

[英]Problem while installing uwsgi on Ubuntu 18.04

我想用 Ubuntu 18.04 在我的系统中安装uwsgi

我试过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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM