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.

Can't uninstall projects installed with "pip install -e"

See original GitHub issue

After installing a project (I’ve tried two) with pip install -e . and then running pip uninstall <project>, the egg-link remains in place and the pth remains altered.

If instead pip install -e <path/to/project> is used to install, pip uninstall <project> returns Can't uninstall '<project>'. No files were found to uninstall.

pip: 1.5.5 python: 2.7.6

pip installed on Ubuntu 14.04 via python-pip package.

Issue Analytics

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

github_iconTop GitHub Comments

34reactions
ethanabrookscommented, Sep 15, 2017

Solution: the advice from this stackoverflow question worked for me.

4reactions
avinash-mishracommented, Oct 30, 2018

The solution that worked for me. It will create a .egg-info file inside the directory where we run pip install -e . Go to that directory and delete .egg-info file. Then cross check with pip list

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't uninstall projects installed with "pip install -e" · Issue #4431
I hadn't done anything special other than installing with pip -e and then attempting to uninstall. may have been something wrong with my...
Read more >
How to uninstall editable packages with pip (installed with -e)
According to my understanding it should remove it: "--uninstall, -u Un-deploy the current project. You may use the --install-dir or -d option to ......
Read more >
PyCharm - Install, uninstall, and upgrade packages - JetBrains
PyCharm provides methods for installing, uninstalling, and upgrading Python packages for a particular Python interpreter.
Read more >
Pip Install: Install and Remove Python Packages
The good news is that Pip is probably already present on your system. Most Python installers also install Pip. Python's pip is already...
Read more >
cannot uninstall 'llvmlite'. it is a distutils installed project and ...
However, it cannot be completely uninstalled by directly using the PIP uninstall + library name, so the roughest way is to delete the...
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