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.

pipenv uninstall --dev xxx uninstall all packages by mistake

See original GitHub issue

pipenv 3.3.6, python 3.6

(validr) [guyskk@localhost validr]$ pipenv uninstall -d numpy
Un-installing [dev-packages]...
Un-installing beeprint...

Un-installing schema...

Un-installing jsonschema...

Un-installing schematics...

Un-installing voluptuous...

Un-installing pytest...

Un-installing pytest-cov...

Un-installing flake8...

Un-installing numpy...
Uninstalling numpy-1.12.0:
  Successfully uninstalled numpy-1.12.0

(validr) [guyskk@localhost validr]$ cat Pipfile
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true

[dev-packages]
beeprint = "*"
schema = "*"
jsonschema = "*"
schematics = "*"
voluptuous = "*"
pytest = "*"
pytest-cov = "*"
flake8 = "*"
numpy = "*"
(validr) [guyskk@localhost validr]$ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
appdirs (1.4.0)
packaging (16.8)
pip (9.0.1)
pyparsing (2.1.10)
setuptools (34.1.1)
six (1.10.0)
wheel (0.29.0)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jerome-divercommented, Oct 30, 2019

pipenv uninstall doesn’t worsk at all, it doesn’t remove any package from virtual site-package directory. Need to force by use pip uninstall instead. pipenv is bugged.

1reaction
nateprewittcommented, Apr 24, 2017

Thanks for pointing this out @mhubig! This was definitely an oversight and I’m surprised it’s gone this long unnoticed. I’ve opened #325 to start the discussion on the best solution here. That should lead to a resolution for this in the next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to uninstall package inside virtualenv - Stack Overflow
I've tried renaming the .venvburrito directory (equivalent to deleting it, but with back-up) but that breaks my virtualenvs. How do I uninstall ......
Read more >
pipenv remove enivornment Code Example - Code Grepper
Queries related to “pipenv remove enivornment” · pipenv delete environment · remove pipenv · pipenv remove virtualenv · pipenv remove package · pipenv...
Read more >
How do I mark dnf package as removed? - Unix StackExchange
I have looked at dnf mark install and dnf mark remove but metadata about these commands are not clear. How do I mark...
Read more >
error: cannot uninstall 'six'. it is a distutils installed project and ...
This error means that this package's metadata doesn't include a list of files that belong to it. Most probably, you have installed this...
Read more >
Python Requirements - Serverless Framework: Plugins
Serverless plugin to bundle Python packages ... In order to fix that we remove all -e from the generated file but, for that...
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