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

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. ๐Ÿ˜…

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