summaryrefslogtreecommitdiff
path: root/install.sh
blob: 44156bbad6b7c1d023c39911ce5d4b0160cc8c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

if [ -n "$(which pip)" ]; then
  echo installing deps using pip
  pip install "openai>=0.27"
  exit 0
fi

if [ -n "$(which pip3)" ]; then
  echo installing deps using pip3
  pip3 install "openai>=0.27"
  exit 0
fi

echo pip or pip3 not found
exit 1