代码改变世界
[登录 · 注册]
  • 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
    

      

  • 上一篇:php 显示文件 与Windows文件名排序一致
    下一篇:centos7 安装mysql 5.7
  • 【推广】 阿里云小站-上云优惠聚集地(新老客户同享)更有每天限时秒杀!
    【推广】 云服务器低至0.95折 1核2G ECS云服务器8.1元/月
    【推广】 阿里云老用户升级四重礼遇享6.5折限时折扣!
  • 原文:https://www.cnblogs.com/dwj192/p/13410243.html
走看看 - 开发者的网上家园