search

Home  >  Q&A  >  body text

python - Linux下安装uwsgi失败


python-devel libxml2 libxml2-devel python-setuptools zlib-devel这些都装了……
按照http://uwsgi-docs.readthedocs...
的教程,出现如下问题


yum groupinstall "Development Tools"无效,

天蓬老师天蓬老师2812 days ago959

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:07:43

    Your system is not Ubuntu/Debian, so you should not install "python-dev", but "python-devel".
    You need to investigate solutions on CentOS, Fedora and other operating systems.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:07:43

    1. Are you sure python-devel is installed? Use "rpm -qi python-devel" to check it out.

    2. If python-devel is installed, check the installation path of python to see if it is the default. If not, you need to indicate the path of python-devel when compiling uwsgi;

    3. Xiaojiekong has already said that the installation names of ubuntu and centos/redhat are different, and you need to look at the installation method of the corresponding system.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 10:07:43

    Install uwsgi with pip

    reply
    0
  • Cancelreply