zoukankan      html  css  js  c++  java
  • pycurl mac 安装报错Curl is configured to use SSL,

    1、使用安装第三方插件的方式安装pycurl:pip3 install pycurl

     

    报错提示如下:

    Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using. Please see PycURL documentation for how to specify the SSL backend manually.'

     

     

    2、网上通用版解决方式

    pip uninstall pycurl
    export PYCURL_SSL_LIBRARY=openssl
    pip install pycurl


    然而对我不管用‘


    靠谱答案来源:https://stackoverflow.com/questions/51075738/install-pycurl-after-mac-update-to-high-sierra-ssl-error,以下方式安装成功:
    (env)$ pip uninstall pycurl
    (env)$ pip install --upgrade pip
    (env)$ export LDFLAGS=-L/usr/local/opt/openssl/lib
    (env)$ export CPPFLAGS=-I/usr/local/opt/openssl/include
    (env)$ export PYCURL_SSL_LIBRARY=openssl
    (env)$ pip install pycurl


     

     

     

  • 相关阅读:
    WPF 使用用户控件UserControl来切换界面(一)
    Halcon 定位与区域分割学习笔记
    Halcon 识别车牌学习笔记
    STM32CubeIDE printf 多个串口
    netcore 跨源资源共享CORS
    自定义Converter
    自定义ListBox
    ExtensionHelper扩展帮助类
    多选ComboBox
    log4net + appsettings.json
  • 原文地址:https://www.cnblogs.com/yoyo008/p/9356074.html
Copyright © 2011-2022 走看看