Skip to content

Commit

Permalink
add check for cargo (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmacer authored Oct 22, 2024
1 parent 4459985 commit 4acbe40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions computer-use-demo/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
if ! command -v cargo &> /dev/null; then
echo "Cargo (the package manager for Rust) is not present. This is required for one of this module's dependencies."
echo "See https://www.rust-lang.org/tools/install for installation instructions."
exit 1
fi

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
Expand Down

0 comments on commit 4acbe40

Please # to comment.