Skip to content

Commit fe69234

Browse files
committed
fix: chore change venv path
1 parent 2cea127 commit fe69234

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/install_depthai.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e
33

4-
VENV_PATH="$HOME/.local/share/virtualenvs"
4+
VENV_PATH="$HOME/.local/share/virtualenvs/depthai-viewer"
55

66
echo "Installing viewer dependencies..."
77

@@ -18,12 +18,12 @@ readonly linux_pkgs=(
1818
PYTHONPATH=$(which python3)
1919
# Function to create virtual environment
2020
create_venv() {
21-
echo "Creating python virtual environment in $VENV_PATH"
22-
2321
if [ ! -d "$VENV_PATH" ]; then
2422
echo "Creating virtual environment at $VENV_PATH"
2523
mkdir -p "$VENV_PATH"
2624
"$PYTHONPATH" -m venv "$VENV_PATH"
25+
else
26+
echo "Virtual environment already exists at $VENV_PATH"
2727
fi
2828
}
2929

0 commit comments

Comments
 (0)