Skip to content

Commit 81136e9

Browse files
committed
Update activate_workspace script to check if we have a virtual environment set up already
1 parent eb9ccd2 commit 81136e9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/activate_workspace.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,12 @@ COFFEE_WS_PATH="$REPO_ROOT/coffee_ws"
6464
# Check if the venv exists
6565
if [ ! -d "$VENV_PATH" ]; then
6666
echo "Error: Virtual environment not found at $VENV_PATH"
67-
echo "Please create the virtual environment first:"
68-
echo " python3 -m venv $VENV_PATH"
67+
echo ""
68+
echo "It looks like you haven't run the initial setup yet."
69+
echo "Please run the setup script first:"
70+
echo " ./scripts/setup_workspace.sh"
71+
echo ""
72+
echo "This will install system dependencies and create the virtual environment."
6973
return 1
7074
fi
7175

0 commit comments

Comments
 (0)