zoukankan      html  css  js  c++  java
  • pip3 install uwsgi 报错

    core/routing.o: In function `uwsgi_route_condition_regexp':
      routing.c:(.text+0x365c): undefined reference to `pcre_free_study'
      routing.c:(.text+0x3680): undefined reference to `pcre_free_study'
      collect2: ld returned 1 exit status
      *** error linking uWSGI ***
      ----------------------------------------
      ERROR: Failed building wheel for uwsgi
      Running setup.py clean for uwsgi
    Failed to build uwsgi
    DEPRECATION: Could not build wheels for uwsgi which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
    Installing collected packages: uwsgi
        Running setup.py install for uwsgi ... error
    

      

    最后发现是pcre-devel在捣鬼,卸载

    yum remove pcre-devel
    

      

    关联卸载了两个东西

    Erasing    : php56w-devel-5.6.40-1.w6.x86_64                                                                                                     1/2 
    Erasing    : pcre-devel-7.8-7.el6.x86_64
    

    再安装,没问题:

    python36 -m pip install  uwsgi
    

      

  • 相关阅读:
    VS Code 的常用快捷键
    oj教程--坑
    oj教程--学习顺序
    oj教程--链表
    oj教程--队列
    oj教程--栈
    【MySQL】汇总数据
    【MySQL】使用WHERE子句
    【MySQL】SELECT语句
    【MySQL】使用MySQL(连接、选择数据库、显示数据库和表信息)
  • 原文地址:https://www.cnblogs.com/dwj192/p/13410243.html
Copyright © 2011-2022 走看看