File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,11 @@ if which brew >/dev/null; then
11
11
else
12
12
ruby -e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) "
13
13
fi
14
- if brew cask --version | grep --quiet " Cask" > /dev/null; then
15
- true
16
- else
17
- brew tap homebrew/cask
18
- fi
19
14
20
15
echo " --- Installing brew system dependencies ---"
21
- hb_list=(cmake boost boost-python sdl2 swig wget curl )
16
+ hb_list=(cmake boost boost-python3 sdl2 swig)
22
17
for item in " ${hb_list[@]} " ; do
18
+ echo " Installing ${item} "
23
19
brew info " ${item} " | grep --quiet " Not installed" && brew install " ${item} "
24
20
done
25
21
@@ -28,13 +24,17 @@ if which conda >/dev/null; then
28
24
echo " Conda is already installed"
29
25
else
30
26
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
31
- bash Miniconda3-latest-MacOSX-x86_64.sh -b
27
+ bash Miniconda3-latest-MacOSX-x86_64.sh -b -p ~ /miniconda3
32
28
rm Miniconda3-latest-MacOSX-x86_64.sh
33
29
echo ' . ~/miniconda3/etc/profile.d/conda.sh' >> ~ /.bash_profile
34
30
source ~ /.bash_profile
35
31
fi
36
32
37
33
echo " --- Installing Conda environment ---"
34
+ if ! which conda > /dev/null; then
35
+ # guard for when no Conda is found, e.g. in Colab
36
+ export PATH=~ /miniconda3/bin:$PATH
37
+ fi
38
38
if conda env list | grep " ^lab " > /dev/null; then
39
39
echo " conda env lab is already installed"
40
40
else
Original file line number Diff line number Diff line change @@ -17,13 +17,17 @@ if which conda >/dev/null; then
17
17
echo " Conda is already installed"
18
18
else
19
19
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
20
- bash Miniconda3-latest-Linux-x86_64.sh -b
20
+ bash Miniconda3-latest-Linux-x86_64.sh -b -p ~ /miniconda3
21
21
rm Miniconda3-latest-Linux-x86_64.sh
22
22
echo ' . ~/miniconda3/etc/profile.d/conda.sh' >> ~ /.bashrc
23
23
source ~ /.bashrc
24
24
fi
25
25
26
26
echo " --- Installing Conda environment ---"
27
+ if ! which conda > /dev/null; then
28
+ # guard for when no Conda is found, e.g. in Colab
29
+ export PATH=~ /miniconda3/bin:$PATH
30
+ fi
27
31
if conda env list | grep " ^lab " > /dev/null; then
28
32
echo " conda env lab is already installed"
29
33
else
Original file line number Diff line number Diff line change @@ -47,4 +47,4 @@ dependencies:
47
47
- gym[classic_control]
48
48
- pybullet==2.8.4
49
49
- roboschool==1.0.46
50
- - atari-py
50
+ - atari-py==0.2.6
You can’t perform that action at this time.
0 commit comments