添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collecting gevent==21.1.2
  Using cached gevent-21.1.2.tar.gz (5.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [60 lines of output]
      warning: src\gevent\resolver\cares.pyx:38:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https:
//github.com/cython/cython/issues/4310
      warning: src\gevent\resolver\cares.pyx:40:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https:
//github.com/cython/cython/issues/4310
      warning: src\gevent\resolver\cares.pyx:41:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https:
//github.com/cython/cython/issues/4310
      Compiling src/gevent/resolver/cares.pyx because it changed.
      [1/1] Cythonizing src/gevent/resolver/cares.pyx
      warning: src\gevent\libev\corecext.pyx:326:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https
://github.com/cython/cython/issues/4310
      warning: src\gevent\libev\corecext.pyx:809:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https
://github.com/cython/cython/issues/4310
      warning: src\gevent\libev\corecext.pyx:811:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https
://github.com/cython/cython/issues/4310
      warning: src\gevent\libev\corecext.pyx:813:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https
://github.com/cython/cython/issues/4310
      warning: src\gevent\libev\corecext.pyx:817:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https
://github.com/cython/cython/issues/4310
      Compiling src/gevent/libev/corecext.pyx because it changed.
      [1/1] Cythonizing src/gevent/libev/corecext.pyx
      Compiling src/gevent/_greenlet_primitives.py because it changed.
      [1/1] Cythonizing src/gevent/_greenlet_primitives.py
      Compiling src/gevent/_hub_primitives.py because it changed.
      [1/1] Cythonizing src/gevent/_hub_primitives.py
      Compiling src/gevent/_hub_local.py because it changed.
      [1/1] Cythonizing src/gevent/_hub_local.py
      Compiling src/gevent/_waiter.py because it changed.
      [1/1] Cythonizing src/gevent/_waiter.py
      warning: src\gevent\_gevent_cgreenlet.pxd:112:33: Declarations should not be declared inline.
      Error compiling Cython file:
      ------------------------------------------------------------
      cdef load_traceback
      cdef Waiter
      cdef wait
      cdef iwait
      cdef reraise
      cpdef GEVENT_CONFIG
      ------------------------------------------------------------
      src\gevent\_gevent_cgreenlet.pxd:182:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
      Compiling src/gevent/greenlet.py because it changed.
      [1/1] Cythonizing src/gevent/greenlet.py
      Traceback (most recent call last):
        File "H:\python\python10\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
          main()
        File "H:\python\python10\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "H:\python\python10\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\123\AppData\Local\Temp\pip-build-env-2hzgx_1f\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\123\AppData\Local\Temp\pip-build-env-2hzgx_1f\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "C:\Users\123\AppData\Local\Temp\pip-build-env-2hzgx_1f\overlay\Lib\site-packages\setuptools\build_meta.py", line 482, in run_setup
          super(_BuildMetaLegacyBackend,
        File "C:\Users\123\AppData\Local\Temp\pip-build-env-2hzgx_1f\overlay\Lib\site-packages\setuptools\build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 294, in <module>
        File "C:\Users\123\AppData\Local\Temp\pip-install-386k4euy\gevent_c8daf4a463364f0db4cffb41492bc59f\_setuputils.py", line 237, in cythonize1
          new_ext = cythonize(
        File "C:\Users\123\AppData\Local\Temp\pip-build-env-2hzgx_1f\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1129, in cythonize
          cythonize_one(*args)
        File "C:\Users\123\AppData\Local\Temp\pip-build-env-2hzgx_1f\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1296, in cythonize_one
          raise CompileError(None, pyx_file)
      [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
       
  • 编辑 收藏 删除
  • 追加酬金 (90%的用户在追加酬金后获得了解决方案)

    当前问题酬金

    ¥ 0 (可追加 ¥500)

    支付方式

    扫码支付

    加载中...

    提供问题酬金的用户不参与问题酬金结算和分配

    支付即为同意 《付费问题酬金结算规则》

    2条回答 默认 最新

    • 快乐小土狗 2022-08-25 11:24
      关注

      pip install gevent试试呢
      不指定版本

      本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?
      按下Enter换行,Ctrl+Enter发表内容
    查看更多回答(1条)

    报告相同问题?

    问题事件

    • 系统已结题 9月2日
    • 已采纳回答 8月25日
    • 创建了问题 8月25日

    悬赏问题

    • ¥15 wireMock 测试工具问题 NX二次开发TKLTOOS加载不出来 诚意满满、携手共进、请多关照 ubuntu下git下来的langchainchatchat没有config目录怎么办(语言-python) 时间序列异常检测(python) anaconda navigator无法选择python版本 DS1302时钟显示不稳定是怎么回事 做一个简单的bp500元贵吗?