python3安装uwsgi报错

报错提示:
  WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
  Collecting uwsgi
    Using cached https://files.pythonhosted.org/packages/24/fd/93851e4a076719199868d4c918cc93a52742e68370188c1c570a6e42a54f/uwsgi-2.0.20.tar.gz
  Installing collected packages: uwsgi
    Running setup.py install for uwsgi ... error
      Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5ln0wcxk/uwsgi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0_0hvqta-record/install-record.txt --single-version-externally-managed --compile:
      /usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'descriptions'
        warnings.warn(msg)
解决:
  yum install python36-devel
  python3 -m pip install  uwsgi
posted @ 2022-07-28 14:55  tangshow  阅读(1490)  评论(0编辑  收藏  举报