G0FuckThyself@lemmy.world to Python · 2 年前How do I remove unnecessary python packages? At global and in vnev?message-squaremessage-square20linkfedilinkarrow-up119arrow-down10
arrow-up119arrow-down1message-squareHow do I remove unnecessary python packages? At global and in vnev?G0FuckThyself@lemmy.world to Python · 2 年前message-square20linkfedilink
minus-squareG0FuckThyself@lemmy.worldOPlinkfedilinkarrow-up3·2 年前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.
minus-squarecoffeewithalex@lemmy.worldlinkfedilinkarrow-up4arrow-down1·2 年前Sounds like you need poetry. Or at least to track your dependencies, so that you can recreate your virtual environment.
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.
Sounds like you need poetry.
Or at least to track your dependencies, so that you can recreate your virtual environment.