18
you are viewing a single comment's thread
view the rest of the comments
[-] uthredii@programming.dev 2 points 1 year ago

You should be able to use pip uninstall. See this link for details:https://pip.pypa.io/en/stable/cli/pip_uninstall/

Using it in a venv will affect the venv. Using it outside the venv will affect global packages.

[-] G0FuckThyself@lemmy.world 3 points 1 year ago

I know i can use pip to uninstall packages, the problem is I don't know which package is needed and which is not needed. I wish pip was like pacman or apt which can list orphan packages.

[-] coffeewithalex@lemmy.world 3 points 1 year ago

Sounds like you need poetry.

Or at least to track your dependencies, so that you can recreate your virtual environment.

this post was submitted on 08 Jul 2023
18 points (100.0% liked)

Python

6420 readers
36 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS