Skip to content

Commit 91a2dca

Browse files
committed
fix: build issues
1 parent 2f1af75 commit 91a2dca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/install_depthai.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ elif [[ $(uname -s) == "Linux" ]]; then
9191
echo "Installing global dependencies."
9292
sudo apt-get install -y "${linux_pkgs[@]}"
9393

94-
echo "Creating python virtual environment in $VENV_DIR"
94+
echo "Creating python virtual environment in $VENV_PATH"
9595

9696

9797
if [ ! -d "$VENV_PATH" ]; then
@@ -108,7 +108,7 @@ fi
108108
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
109109
sudo udevadm control --reload-rules && sudo udevadm trigger
110110

111-
echo -e '#!/bin/bash\nsource /opt/depthai_venv/bin/activate\nexec depthai-viewer "$@"' | sudo tee /usr/local/bin/depthai-viewer > /dev/null
111+
echo -e '#!/bin/bash\nsource .local/share/virtualenvs\nexec depthai-viewer "$@"' | sudo tee /usr/local/bin/depthai-viewer > /dev/null
112112
sudo chmod +x /usr/local/bin/depthai-viewer
113113

114114
else

0 commit comments

Comments
 (0)