I got past the previous error but currently stuck at the one below. Please help if you can:
File “/tmp/test_08_02”, line 8, in
import hail as hl
File “/tmp/hail-python.zip/hail/init.py”, line 44, in
from .table import Table, GroupedTable, asc, desc # noqa: E402
File “/tmp/hail-python.zip/hail/table.py”, line 7, in
from hail.expr.expressions import Expression, StructExpression,
File “/tmp/hail-python.zip/hail/expr/init.py”, line 1, in
from .types import dtype, HailType, hail_type, is_container, is_compound,
File “/tmp/hail-python.zip/hail/expr/types.py”, line 10, in
from hail import genetics
File “/tmp/hail-python.zip/hail/genetics/init.py”, line 1, in
from .call import Call
File “/tmp/hail-python.zip/hail/genetics/call.py”, line 2, in
from hail.utils import FatalError
File “/tmp/hail-python.zip/hail/utils/init.py”, line 8, in
from .tutorial import get_1kg, get_hgdp, get_movie_lens
File “/tmp/hail-python.zip/hail/utils/tutorial.py”, line 7, in
from hailtop.utils import sync_retry_transient_errors
File “/tmp/hail-python.zip/hailtop/utils/init.py”, line 2, in
from .utils import (
File “/tmp/hail-python.zip/hailtop/utils/utils.py”, line 19, in
import google.auth.exceptions
ModuleNotFoundError: No module named ‘google’
pip install --upgrade --target=/home/ec2-user/hail/hail/python/ google
import hail as hl
File “/tmp/hail-python.zip/hail/init.py”, line 44, in
from .table import Table, GroupedTable, asc, desc # noqa: E402
File “/tmp/hail-python.zip/hail/table.py”, line 7, in
from hail.expr.expressions import Expression, StructExpression,
File “/tmp/hail-python.zip/hail/expr/init.py”, line 1, in
from .types import dtype, HailType, hail_type, is_container, is_compound,
File “/tmp/hail-python.zip/hail/expr/types.py”, line 10, in
from hail import genetics
File “/tmp/hail-python.zip/hail/genetics/init.py”, line 1, in
from .call import Call
File “/tmp/hail-python.zip/hail/genetics/call.py”, line 2, in
from hail.utils import FatalError
File “/tmp/hail-python.zip/hail/utils/init.py”, line 8, in
from .tutorial import get_1kg, get_hgdp, get_movie_lens
File “/tmp/hail-python.zip/hail/utils/tutorial.py”, line 7, in
from hailtop.utils import sync_retry_transient_errors
File “/tmp/hail-python.zip/hailtop/utils/init.py”, line 2, in
from .utils import (
File “/tmp/hail-python.zip/hailtop/utils/utils.py”, line 19, in
import google.auth.exceptions
ModuleNotFoundError: No module named ‘google’
pip install --upgrade google-auth google-auth-httplib2 google-api-python-client
import hail as hl
File “/tmp/hail-python.zip/hail/init.py”, line 44, in
from .table import Table, GroupedTable, asc, desc # noqa: E402
File “/tmp/hail-python.zip/hail/table.py”, line 7, in
from hail.expr.expressions import Expression, StructExpression,
File “/tmp/hail-python.zip/hail/expr/init.py”, line 1, in
from .types import dtype, HailType, hail_type, is_container, is_compound,
File “/tmp/hail-python.zip/hail/expr/types.py”, line 10, in
from hail import genetics
File “/tmp/hail-python.zip/hail/genetics/init.py”, line 1, in
from .call import Call
File “/tmp/hail-python.zip/hail/genetics/call.py”, line 2, in
from hail.utils import FatalError
File “/tmp/hail-python.zip/hail/utils/init.py”, line 8, in
from .tutorial import get_1kg, get_hgdp, get_movie_lens
File “/tmp/hail-python.zip/hail/utils/tutorial.py”, line 7, in
from hailtop.utils import sync_retry_transient_errors
File “/tmp/hail-python.zip/hailtop/utils/init.py”, line 2, in
from .utils import (
File “/tmp/hail-python.zip/hailtop/utils/utils.py”, line 19, in
import google.auth.exceptions
ModuleNotFoundError: No module named 'google