Skip to content

Commit

Permalink
use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah committed Nov 4, 2024
1 parent c6d8c0d commit 4120056
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion set-up-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Install pip
apt-get update
apt-get install python3-pip -y
apt-get install python3.11-venv -y

# Set up venv
python3 -m venv wranglervenv
source wranglervenv/bin/activate

# Install requirements
pip3 install -r ./imap-client/requirements.txt
Expand All @@ -9,7 +14,7 @@ pip3 install -r ./imap-client/requirements.txt
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

# Install easyocr
pip3 install easyocr --break-system-packages
pip3 install easyocr

# Add lsb-release
apt-get update -y -qq
Expand Down

0 comments on commit 4120056

Please sign in to comment.