How to Detect and Remove Python Packages Installed via PIP and Apt

preview_player
Показать описание
How to Detect and Remove Python Packages Installed via Pip and Apt Package Manager
sudo apt install python3-pil
sudo python3 -m pip show Pillow
sudo apt remove python3-pil

sudo python3 -m pip install Pillow
sudo python3 -m pip show Pillow
sudo python3 -m pip uninstall Pillow

a)
$ sudo apt install python3-pil

$ pip3 show Pillow
Name: Pillow
Version: 5.0.0
Summary: Python Imaging Library (Fork)
Author: Alex Clark (Fork Author)
License: Standard PIL License
Location: /usr/lib/python3/dist-packages
Requires:

b)
$ sudo python3 -m pip install Pillow

$ pip3 show Pillow
Name: Pillow
Version: 5.0.0
Summary: Python Imaging Library (Fork)
Author: Alex Clark (Fork Author)
License: Standard PIL License
Location: /usr/local/lib/python3.6/dist-packages
Requires:
Рекомендации по теме
Комментарии
Автор

How do we do this process on a windows PC?

someevil