求助: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
相关产品推荐
相关产品推荐

