-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Trouble installing metagpt #1825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
similar issue found and unable to resolve some dependencies, tried on linux with python 3.11
|
Can you provide us with the metagpt version, python version, and installation commands to help us troubleshoot? |
You can prioritise installing the package that reported the error and then proceed to installing all packages, which may happen more than once, but you can just cycle through the packages each time, as this will use the cache.
|
Hi, thanks for the responses, I later managed to install metagpt using the git clone repo method. I believe this error was faced when I was using a conda environment with python 3.11, and I simply ran pip install metagpt. However, I did run the command on windows as I did not know metagpt had to be ran on linux, so that may have had an effect. |
I'm using python 3.11.5 with the most recent pip package
And I'm running:
installing 0.8.1 works fine |
Setting protobuf to not use a fixed version in the 0.8.2 version of requirements.txt may solve the problem |
it would be nice if majority of the requirements are a bit more flexible maybe with >= on the same major version rather than every package to have a specific version, otherwise it is almost impossible to install it with other libraries in a single environment |
When running pip install metagpt, got this error:
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
The installation had already reached:
Collecting psutil (from ipykernel==6.27.1->metagpt)
Using cached psutil-5.9.8-cp37-abi3-win_amd64.whl.metadata (22 kB)
Collecting ordered-set<5.0.0,>=4.0.0 (from agentops->metagpt)
Using cached ordered-set-4.0.2.tar.gz (10 kB)
Preparing metadata (setup.py) ... done
but there seems to be an error installing. Can anyone help? Thank you
The text was updated successfully, but these errors were encountered: