diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh index 3fade6147..e8ba65390 100755 --- a/scripts/uninstall.sh +++ b/scripts/uninstall.sh @@ -1,6 +1,6 @@ #!/bin/bash -modules=$(pip3 list --format=legacy | grep 'aw-' | grep -o '^aw-[^ ]*') +modules=$(pip3 list --format=freeze | grep '^aw-' | cut -d'=' -f1) for module in $modules; do pip3 uninstall -y $module