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

Python

6134 readers
86 users here now

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

πŸ“… Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] tuto193@lemmy.world 3 points 1 year ago (1 children)

As already mentioned, poetry (python-poetry) is the best thing I know regarding package management for projects. It's quite easy to setup and use, and I use it together with pyenv.

If your problem lies on your locally installed packages, then I think you're basically on your own manually searching for packages you don't use. There's not really a way for pip/python to know which packages are relevant or not (at least not that I know of), and if your problem is just about a single environment, then just delete the environment and start anew.

[–] G0FuckThyself@lemmy.world 2 points 1 year ago

Thanks, i will look into poetry. Yeah the global python package are main problem. Should've used vnev from start. πŸ˜