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 2cea127 commit fe69234Copy full SHA for fe69234
docs/install_depthai.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
set -e
3
4
-VENV_PATH="$HOME/.local/share/virtualenvs"
+VENV_PATH="$HOME/.local/share/virtualenvs/depthai-viewer"
5
6
echo "Installing viewer dependencies..."
7
@@ -18,12 +18,12 @@ readonly linux_pkgs=(
18
PYTHONPATH=$(which python3)
19
# Function to create virtual environment
20
create_venv() {
21
- echo "Creating python virtual environment in $VENV_PATH"
22
-
23
if [ ! -d "$VENV_PATH" ]; then
24
echo "Creating virtual environment at $VENV_PATH"
25
mkdir -p "$VENV_PATH"
26
"$PYTHONPATH" -m venv "$VENV_PATH"
+ else
+ echo "Virtual environment already exists at $VENV_PATH"
27
fi
28
}
29
0 commit comments