-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Description
I am getting below error when installing 'agent-framework'
I tried giving the specific version and set the lower bound. Still same error
× Dependency resolution exceeded maximum depth
╰─> Pip cannot resolve the current dependencies as the dependency graph is too complex for pip to solve efficiently.
2025-10-14 22:33:48.072 [info]
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
2025-10-14 22:33:51.277 [info] Traceback (most recent call last):
2025-10-14 22:33:51.278 [info] File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 96, in run_process
subprocess.run(args, cwd=os.getcwd(), check=True) # noqa: PTH109
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python313\Lib\subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['e:\Training\DockerDevelop\.venv\Scripts\python.exe', '-m', 'pip', 'install', '-r', 'e:\Training\DockerDevelop\Agents\requirements.txt']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
2025-10-14 22:33:51.278 [info] File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 271, in
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 263, in main
install_requirements(venv_path, requirements)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 125, in install_requirements
run_process(
~~~~~~~~~~~^
[venv_path, "-m", "pip", "install", "-r", requirement],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 98, in run_process
raise VenvError(error_message) from exc
VenvError: CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
2025-10-14 22:33:51.293 [error] Error while running venv creation script: CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
2025-10-14 22:33:51.293 [error] CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
Expected behavior
No response
pip version
25.2
Python version
3.13
OS
Windows
How to Reproduce
add the 'agent-framework' in requirements.txt
install the requirement file to create .venv
Output
× Dependency resolution exceeded maximum depth
╰─> Pip cannot resolve the current dependencies as the dependency graph is too complex for pip to solve efficiently.
2025-10-14 22:33:48.072 [info]
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
2025-10-14 22:33:51.277 [info] Traceback (most recent call last):
2025-10-14 22:33:51.278 [info] File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 96, in run_process
subprocess.run(args, cwd=os.getcwd(), check=True) # noqa: PTH109
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python313\Lib\subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['e:\Training\DockerDevelop\.venv\Scripts\python.exe', '-m', 'pip', 'install', '-r', 'e:\Training\DockerDevelop\Agents\requirements.txt']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
2025-10-14 22:33:51.278 [info] File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 271, in
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 263, in main
install_requirements(venv_path, requirements)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 125, in install_requirements
run_process(
~~~~~~~~~~~^
[venv_path, "-m", "pip", "install", "-r", requirement],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "c:\Users\Administrator.vscode\extensions\ms-python.python-2025.16.0-win32-x64\python_files\create_venv.py", line 98, in run_process
raise VenvError(error_message) from exc
VenvError: CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
2025-10-14 22:33:51.293 [error] Error while running venv creation script: CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
2025-10-14 22:33:51.293 [error] CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
Code of Conduct
- I agree to follow the PSF Code of Conduct.