File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
.circleci/unittest/linux_libs/scripts_habitat Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ env_dir="${root_dir}/env"
19
19
lib_dir=" ${env_dir} /lib"
20
20
21
21
# smoke test
22
- python -c " import habitat;import habitat.utils.gym_definitions "
22
+ python -c " import habitat;import habitat.gym "
23
23
24
24
# solves ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
25
25
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$lib_dir
@@ -35,7 +35,7 @@ conda env config vars set LD_PRELOAD=$LD_PRELOAD:$STDC_LOC
35
35
conda deactivate && conda activate ./env
36
36
37
37
# this workflow only tests the libs
38
- python -c " import habitat;import habitat.utils.gym_definitions "
38
+ python -c " import habitat;import habitat.gym "
39
39
python -c " " " from torchrl.envs.libs.habitat import HabitatEnv
40
40
env = HabitatEnv('HabitatRenderPick-v0')
41
41
env.reset()
Original file line number Diff line number Diff line change @@ -55,4 +55,4 @@ conda run python -m pip install git+https://github.com/facebookresearch/habitat-
55
55
conda run python -m pip install " gym[atari,accept-rom-license]" pygame
56
56
57
57
# smoke test
58
- python -c " import habitat;import habitat.utils.gym_definitions "
58
+ python -c " import habitat;import habitat.gym "
Original file line number Diff line number Diff line change 15
15
IMPORT_ERR = None
16
16
try :
17
17
import habitat
18
- import habitat .utils . gym_definitions # noqa
18
+ import habitat .gym # noqa
19
19
20
20
_has_habitat = True
21
21
except ImportError as err :
You can’t perform that action at this time.
0 commit comments