File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ elif [[ $(uname -s) == "Linux" ]]; then
91
91
echo " Installing global dependencies."
92
92
sudo apt-get install -y " ${linux_pkgs[@]} "
93
93
94
- echo " Creating python virtual environment in $VENV_DIR "
94
+ echo " Creating python virtual environment in $VENV_PATH "
95
95
96
96
97
97
if [ ! -d " $VENV_PATH " ]; then
108
108
echo ' SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
109
109
sudo udevadm control --reload-rules && sudo udevadm trigger
110
110
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
112
112
sudo chmod +x /usr/local/bin/depthai-viewer
113
113
114
114
else
You can’t perform that action at this time.
0 commit comments