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
    

      

  • 相关阅读:
    八、多线程爬虫之糗事百科案例
    七、数据提取之JSON与JsonPATH
    Day_03
    六、CSS 选择器:BeautifulSoup4
    Day_01
    Day_02
    图解递归函数
    第十章 提权
    提权篇
    Webshell篇
  • 原文地址:https://www.cnblogs.com/dwj192/p/13410243.html
Copyright © 2011-2022 走看看