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 3e248ae commit 7910c41Copy full SHA for 7910c41
plugins/pip/venvShellHook.sh
@@ -22,7 +22,7 @@ if [ -f "$STATE_FILE" ]; then
22
fi
23
24
# Check that Python version supports venv
25
-if ! python -c "import venv" &>/dev/null; then
+if ! python -c 'import venv' 1> /dev/null 2> /dev/null; then
26
echo "\033[1;33mWARNING: Python version must be > 3.3 to create a virtual environment.\033[0m"
27
touch "$STATE_FILE"
28
exit 1
0 commit comments