You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求助:Anaconda环境安装Rasa时遇python setup.py egg_info失败问题

问题:安装Rasa时触发Python版本检测报错

我近期安装了Anaconda与Python 3.11.4,在Anaconda中创建环境后,执行pip install rasa命令时出现报错,报错详情如下:

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "C:\Users\Eliseo\AppData\Local\Temp\pip-install-qo_63x3c\absl-py_16e4b8fcbea9469084883112126934fa\setup.py", line 34, in <module>
        raise RuntimeError('Python version 2.7 or 3.4+ is required.')
    RuntimeError: Python version 2.7 or 3.4+ is required.
    [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.

已尝试以下操作但未解决问题:

  • 卸载Python
  • 在Anaconda Prompt中执行conda clean --all命令

恳请协助排查解决。

内容的提问来源于stack exchange,提问作者Eliseo Villa

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.13 09:50:53