We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a6e99 commit c627952Copy full SHA for c627952
src/venv-cli/venv.sh
@@ -352,8 +352,11 @@ venv::clear() {
352
fi
353
354
venv::color_echo "${_yellow}" "Removing all packages from virtual environment ..."
355
- pip freeze --require-virtualenv \
356
- | cut -d "@" -f1 \
+ pip list --format freeze \
+ --exclude pip \
357
+ --exclude setuptools \
358
+ --exclude wheel \
359
+ | cut -d "=" -f1 \
360
| xargs --no-run-if-empty pip uninstall --require-virtualenv -y
361
venv::color_echo "${_green}" "All packages removed!"
362
}
0 commit comments