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

if [ -n "$(which pip3)" ]; then
  pip3 install openai
  exit 0
fi

if [ -n "$(which pip)" ]; then
  pip install openai
  exit 0
fi

echo missing pip3 or pip
exit 1