5 printf "{{LIBNAME:UC}} Python Library: Uninstaller\n\n"
7 if [ $
(id
-u) -ne 0 ]; then
8 printf "Script must be run as root. Try 'sudo ./uninstall.sh'\n"
14 printf "Unnstalling for Python 2..\n"
15 pip uninstall
$PACKAGE
17 if [ -f "/usr/bin/pip3" ]; then
18 printf "Uninstalling for Python 3..\n"
19 pip3 uninstall
$PACKAGE