最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

安裝pycurl報(bào)錯(cuò)Could not run curl-config: 'curl-config'

 更新時(shí)間:2023年12月13日 10:15:40   作者:ponponon  
這篇文章主要為大家介紹了安裝pycurl報(bào)錯(cuò)Could not run curl-config: 'curl-config'解決方法,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪

安裝報(bào)錯(cuò)

Collecting pycurl>=7.45.2 (from trafilatura[all]->-r requirements-prd.txt (line 35))
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a8/af/24d3acfa76b867dbd8f1166853c18eefc890fc5da03a48672b38ea77ddae/pycurl-7.45.2.tar.gz (234 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 234.2/234.2 kB 41.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      Traceback (most recent call last):
        File "/tmp/pip-install-2zlsdu2r/pycurl_41eb25c580f54b42a5b153944f6ca6ea/setup.py", line 229, in configure_unix
          p = subprocess.Popen((self.curl_config(), '--version'),
        File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
      During handling of the above exception, another exception occurred:
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-2zlsdu2r/pycurl_41eb25c580f54b42a5b153944f6ca6ea/setup.py", line 970, in <module>
          ext = get_extension(sys.argv, split_extension_source=split_extension_source)
        File "/tmp/pip-install-2zlsdu2r/pycurl_41eb25c580f54b42a5b153944f6ca6ea/setup.py", line 634, in get_extension
          ext_config = ExtensionConfiguration(argv)
        File "/tmp/pip-install-2zlsdu2r/pycurl_41eb25c580f54b42a5b153944f6ca6ea/setup.py", line 93, in __init__
          self.configure()
        File "/tmp/pip-install-2zlsdu2r/pycurl_41eb25c580f54b42a5b153944f6ca6ea/setup.py", line 234, in configure_unix
          raise ConfigurationError(msg)
      __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
      [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

怎么解決?

安裝下面的依賴即可

sudo apt-get install libcurl4-openssl-dev

如果使用的是官方鏡像,比如 python:3.10-bookworm,那么 libcurl4-openssl-dev 已經(jīng)默認(rèn)安裝了

以上就是安裝pycurl報(bào)錯(cuò)Could not run curl-config: 'curl-config'的詳細(xì)內(nèi)容,更多關(guān)于安裝pycurl報(bào)錯(cuò)的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!

相關(guān)文章

  • Python大數(shù)據(jù)量文本文件高效解析方案代碼實(shí)現(xiàn)全過程

    Python大數(shù)據(jù)量文本文件高效解析方案代碼實(shí)現(xiàn)全過程

    在數(shù)據(jù)分析中,有時(shí)數(shù)據(jù)源會(huì)是超大的文本文件(幾G,或在幾十G),需要從中提取需要的信息,下面這篇文章主要給大家介紹了關(guān)于Python大數(shù)據(jù)量文本文件高效解析方案代碼實(shí)現(xiàn)的相關(guān)資料,需要的朋友可以參考下
    2022-12-12
  • 詳解Python中ping命令的深層原理

    詳解Python中ping命令的深層原理

    Ping命令是網(wǎng)絡(luò)管理員和普通用戶最常用的網(wǎng)絡(luò)工具之一,可以測試網(wǎng)絡(luò)連接是否正常,本文主要來和大家探討Ping命令的工作原理和用法,需要的可以參考一下
    2023-06-06
  • Python logging設(shè)置和logger解析

    Python logging設(shè)置和logger解析

    這篇文章主要介紹了Python logging設(shè)置和logger解析,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下
    2019-08-08
  • 淺析Python的web.py框架中url的設(shè)定方法

    淺析Python的web.py框架中url的設(shè)定方法

    web.py是Python的一個(gè)輕量級(jí)Web開發(fā)框架,這里我們來淺析Python的web.py框架中url的設(shè)定方法,需要的朋友可以參考下
    2016-07-07
  • Python爬蟲基于lxml解決數(shù)據(jù)編碼亂碼問題

    Python爬蟲基于lxml解決數(shù)據(jù)編碼亂碼問題

    這篇文章主要介紹了Python爬蟲基于lxml解決數(shù)據(jù)編碼亂碼問題,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下
    2020-07-07
  • Python實(shí)現(xiàn)使用request模塊下載圖片demo示例

    Python實(shí)現(xiàn)使用request模塊下載圖片demo示例

    這篇文章主要介紹了Python實(shí)現(xiàn)使用request模塊下載圖片,結(jié)合完整實(shí)例形式分析了Python基于requests模塊的流傳輸文件下載操作相關(guān)實(shí)現(xiàn)技巧,需要的朋友可以參考下
    2019-05-05
  • python 根據(jù)csv表頭、列號(hào)讀取數(shù)據(jù)的實(shí)現(xiàn)

    python 根據(jù)csv表頭、列號(hào)讀取數(shù)據(jù)的實(shí)現(xiàn)

    這篇文章主要介紹了python 根據(jù)csv表頭、列號(hào)讀取數(shù)據(jù)的實(shí)現(xiàn)方式,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2022-05-05
  • python3 使用ssh隧道連接mysql的操作

    python3 使用ssh隧道連接mysql的操作

    這篇文章主要介紹了python3 使用ssh隧道連接mysql的操作,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過來看看吧
    2020-12-12
  • python分分鐘繪制精美地圖海報(bào)

    python分分鐘繪制精美地圖海報(bào)

    基于Python中諸如matplotlib等功能豐富、自由度極高的繪圖庫,我們可以完成各種極富藝術(shù)感的可視化作品,關(guān)于這一點(diǎn)我在系列文章在模仿中精進(jìn)數(shù)據(jù)可視化中已經(jīng)帶大家學(xué)習(xí)過很多案例了
    2022-02-02
  • 教你用Django將前端的數(shù)據(jù)存入Mysql數(shù)據(jù)庫

    教你用Django將前端的數(shù)據(jù)存入Mysql數(shù)據(jù)庫

    這篇文章主要給大家介紹了關(guān)于如何用Django將前端的數(shù)據(jù)存入Mysql數(shù)據(jù)庫的相關(guān)資料,文中通過圖文以及示例代碼介紹的非常詳細(xì),對(duì)大家學(xué)習(xí)或者使用Django具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下
    2021-11-11

最新評(píng)論

黑河市| 昆明市| 正镶白旗| 卢湾区| 河南省| 达州市| 确山县| 庐江县| 阳泉市| 门头沟区| 卓尼县| 合水县| 广丰县| 永春县| 达日县| 连城县| 普兰县| 平山县| 靖江市| 彭山县| 井研县| 龙门县| 精河县| 云龙县| 堆龙德庆县| 黄山市| 松溪县| 江孜县| 佳木斯市| 仙居县| 南雄市| 垦利县| 宣武区| 噶尔县| 奉化市| 出国| 辽阳县| 宁化县| 涞源县| 邓州市| 页游|