Error installing PyCurl

后端 未结 2 1385
难免孤独
难免孤独 2021-02-09 15:05

I tried installing pycurl via pip. it didn\'t work and instead it gives me this error.

running install

running build

running build_py

running build_ext

build         


        
相关标签:
2条回答
  • 2021-02-09 15:36

    if you are on linux with apt-get:

    lnx#> apt-get search pycurl
    

    To install:

    lnx#> sudo apt-get install python-pycurl
    

    if on linux with yum:

    lnx#> yum search pycurl  
    I get this on my comp:  
    python-pycurl.x86_64 : A Python interface to libcurl
    

    To install i've did:

    lnx#> sudo yum install python-pycurl

    Another alternative, is to use easy_install:

    yum, or apt-get, install setuptools.


    If you're using Holly Windows, then get pycurl from HERE

    0 讨论(0)
  • 2021-02-09 15:46

    I got it working using this

    sudo env ARCHFLAGS="-arch x86_64" pip install pycurl
    
    0 讨论(0)
提交回复
热议问题