binary-husky / binary-husky/gpt_academic

[Bug]: 一键安装包安装rich不同版本,显示resolution-too-deep

Open
#2,214 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

### Installation Method | 安装方法与平台

OneKeyInstall (一键安装脚本-windows)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Windows

### Describe the bug | 简述

自动运行后,在不停的运行这些代码,最后显示
× Dependency resolution exceeded maximum depth
╰─> Pip cannot resolve the current dependencies as the dependency graph is too complex for pip to solve efficiently.

hint: Try adding lower bounds to constrain your dependencies, for example: 'package>=2.0.0' instead of just 'package'.

Link: https://pip.pypa.io/en/stable/topics/dependency-resolution/#handling-resolution-too-deep-errors
Command '"D:\gpt_academic\installer_files\conda\condabin\conda.bat" activate "D:\gpt_academic\installer_files\env" >nul && python -m pip install -r requirements.txt --upgrade -i https://mirrors.aliyun.com/pypi/simple/' failed with exit status code '1'. Exiting...

### Screen Shot | 有帮助的截图

自动运行后,在不停的运行这些代码
Collecting rich (from -r requirements.txt (line 35))
Using cached https://mirrors.aliyun.com/pypi/packages/ea/bc/5ca0a05823fcdf00c64b44448122131319bc0bf53ec9ce715dc960560df2/rich-13.0.1-py3-none-any.whl (238 kB)
Using cached https://mirrors.aliyun.com/pypi/packages/92/37/2732511fdd5c6e037af9e92b87dbb50049c02fd3a8c070bc75eed6c798b3/rich-13.0.0-py3-none-any.whl (238 kB)
Using cached https://mirrors.aliyun.com/pypi/packages/32/60/81ac2e7d1e3b861ab478a72e3b20fc91c4302acd2274822e493758941829/rich-12.6.0-py3-none-any.whl (237 kB)
Using cached https://mirrors.aliyun.com/pypi/packages/f6/39/4cb526e0d505464376e3c47a812df6e6638363ebe66e6a63618831fe47ad/rich-12.5.1-py3-none-any.whl (235 kB)
Using cached https://mirrors.aliyun.com/pypi/packages/0b/78/fd144401a7849947ef5852e00686e56312cc95aa3a4866f5c8a00a459a4e/rich-12.5.0-py3-none-any.whl (235 kB)
error: resolution-too-deep

× Dependency resolution exceeded maximum depth
╰─> Pip cannot resolve the current dependencies as the dependency graph is too complex for pip to solve efficiently.

hint: Try adding lower bounds to constrain your dependencies, for example: 'package>=2.0.0' instead of just 'package'.

Link: https://pip.pypa.io/en/stable/topics/dependency-resolution/#handling-resolution-too-deep-errors
Command '"D:\gpt_academic\installer_files\conda\condabin\conda.bat" activate "D:\gpt_academic\installer_files\env" >nul && python -m pip install -r requirements.txt --upgrade -i https://mirrors.aliyun.com/pypi/simple/' failed with exit status code '1'. Exiting...

Image

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with requirements.txt, especially line 35 where rich is listed, and inspect the Windows OneKeyInstall command that runs pip install -r requirements.txt --upgrade. Reproduce the installation and determine why pip repeatedly resolves rich versions. Done means the Windows installer completes without the resolution-too-deep error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.