Failed to install packages


I’m trying to run Unit Test as I’ve done many times before, but it is instead triggering the installation of packages that end up failing (see details below), blocking everything else.

I’d appreciate any help to resolve this problem. Thanks in advance.

--> poetry add git-python
Using version ^1.1.1 for git-python

Updating dependencies
Resolving dependencies...

Writing lock file

Package operations: 1 install, 6 updates, 1 removal

  • Removing pyparsing (3.0.9)
  • Updating packaging (21.3 -> 23.2)
  • Updating platformdirs (2.5.2 -> 4.1.0)
  • Updating pytoolconfig (1.2.2 -> 1.3.1)
  • Updating pyflakes (3.1.0 -> 3.2.0)
  • Updating rope (1.3.0 -> 1.12.0)
  • Installing git-python (1.1.1)
  • Updating python-lsp-server (1.9.0 -> 1.10.0)


  Unable to find installation candidates for git-python (1.1.1)

  at venv/lib/python3.8/site-packages/poetry/installation/ in choose_for
       69│             links.append(link)
       71│         if not links:
    →  72│             raise RuntimeError(
       73│                 "Unable to find installation candidates for {}".format(package)
       74│             )
       76│         # Get the best link

Failed to add packages, reverting the pyproject.toml file to its original content.
exit status 1

Replit Profile:

To disable the installation of modules when starting a replay, add this line to the beginning of the .replit file:

disableGuessImports = true

After that, the modules will stop being installed automatically, therefore errors will stop.


Thanks for your help KAlexK. I’ve added that line to the .replit file, saved, reloaded the page, but I’m still getting the same error. What am I missing?

Can you send the link to your Repl?

1 Like

unit tests currently have a bug that requires a very specific fix, detailed below:

You can also see the bug report about this problem:


That did it! Thanks a lot!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.