File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,25 @@ pyenv_root="$HOME/.pyenv/bin/pyenv"
12
12
if ! command -v $pyenv_root & > /dev/null
13
13
then
14
14
echo " pyenv is not installed. Installing now..."
15
- curl https://pyenv.run | bash
15
+ curl https://pyenv.run | zsh # zsh is the default shell for mac now. Changing this may cause install to fail
16
16
else
17
17
echo " pyenv is already installed."
18
18
fi
19
19
20
+ PYENV_VERSION=' 3.11.7'
21
+
20
22
$pyenv_root init
21
23
22
- $pyenv_root install 3.11.7 --skip-existing
24
+ $pyenv_root install $PYENV_VERSION --skip-existing
23
25
24
- # do we need to do this? it works on a computer where shell didn't, but it doesn't install the command to `interpreter`
25
- # PYENV_VERSION=3.11.7 $pyenv_root exec pip install open-interpreter
26
+ $pyenv_root init
26
27
27
- $pyenv_root shell 3.11.7
28
+ $pyenv_root global $PYENV_VERSION
28
29
29
- pip install open-interpreter
30
+ $pyenv_root exec pip install open-interpreter
30
31
32
+ $pyenv_root shell $PYENV_VERSION
33
+ $pyenv_root pip install open-interpreter
31
34
$pyenv_root shell --unset
32
35
33
36
echo " "
You can’t perform that action at this time.
0 commit comments