question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot uninstall terminado, build fails

See original GitHub issue

Bug description

When building https://github.com/astrojuanlu/ie-mbd-advanced-python/, build fails at this step:

Attempting uninstall terminado
Found existing installation: terminado 0.8.3
ERROR: Cannot unintstall 'terminado'. It is a distutils installed project and thus...

(by the way, I can’t seem to be able to copy the text from the build logs…)

The requirements.txt contains these lines:

$ grep terminado requirements.txt 
ptyprocess==0.6.0         # via pexpect, terminado
terminado==0.9.1          # via notebook
tornado==6.1              # via ipykernel, jupyter-client, notebook, terminado

Because they come from pip-compile:

$ cat requirements.in 
black==20.8b1
notebook
rise

I guess that pinning terminado to the version that Binder uses would fix the problem, but I don’t think this was needed in the past.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
astrojuanlucommented, Nov 19, 2020

Hi @betatim ! Sure, I had just registered - thanks for the pointer to the chat!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot uninstall terminado, build fails · Issue #221 - GitHub
Attempting uninstall terminado Found existing installation: terminado 0.8.3 ERROR: Cannot unintstall 'terminado'. It is a distutils installed ...
Read more >
Kedro install - Cannot uninstall `terminado` - Stack Overflow
Attempting uninstall: terminado Found existing installation: terminado 0.8.3 ERROR: Cannot uninstall 'terminado'. It is a distutils installed ...
Read more >
error: cannot uninstall 'terminado'. it is a distutils installed ...
This github issue suggests the following fix: pip install terminado --user --ignore-installed But it does not work for me as I keep having...
Read more >
Cannot uninstall 'terminado' and problems with pip-docker
Solution to your issue, don't use docker as it won't be able to uninstall the tornado package which is a pure distutil package...
Read more >
Error: “Cannot Uninstall 'PyYAML'” When... - Intel
ERROR : Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found