Install Failed
See original GitHub issueI tried to install Mephisto using poetry but it failed. The error is :
`Mephisto % poetry install Installing dependencies from lock file Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
SolverProblemError
Because mephisto depends on mypy (^0.971.0) which doesn’t match any versions, version solving failed.
at ~/Library/Application Support/pypoetry/venv/lib/python3.9/site-packages/poetry/puzzle/solver.py:241 in _solve 237│ packages = result.packages 238│ except OverrideNeeded as e: 239│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest) 240│ except SolveFailure as e: → 241│ raise SolverProblemError(e) 242│ 243│ results = dict( 244│ depth_first_search( 245│ PackageNode(self._package, packages), aggregate_package_nodes ` However, I have already install the mypy (version0.971).
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
The fix in #898 should resolve the issue, for now feel free to work from that branch in the meantime!
I tried installing in a new conda env with an updated pip, however, I am still getting the above error.
Also, I tried
poetry update
which fails -So, because mephisto depends on both hydra-core (^1.2.0) and parlai (^1.6.0), version solving failed.