Closed mhebrard closed 10 months ago
@daniel-goldstein can you take a peek at this?
@mhebrard I notice you're using sudo make
, I suspect this means that Hail's code is running under a modified PATH
that lacks pip-compile
. We'll fix our install-on-cluster target to have a "make the artifact" and an "install" step that are separate (so you can install as root but build as a normal user). In the mean time, apply this patch:
diff --git a/hail/Makefile b/hail/Makefile
index dabe146d3a..e12ac791c4 100644
--- a/hail/Makefile
+++ b/hail/Makefile
@@ -349,7 +349,7 @@ install: $(WHEEL)
hailctl config set query/backend spark
.PHONY: install-on-cluster
-install-on-cluster: $(WHEEL) check-pip-lockfile
+install-on-cluster: $(WHEEL)
sed '/^pyspark/d' python/pinned-requirements.txt | grep -v -e '^[[:space:]]*#' -e '^$$' | tr '\n' '\0' | xargs -0 $(PIP) install -U
-$(PIP) uninstall -y hail
$(PIP) install $(WHEEL) --no-deps
What happened?
I am trying to install Hail v0.2.120 on AWS EMR 6.9.0
Versions:
After updating Python to 3.8 and cloning hail repo, I compile hail using the command below
Here I get an error
While I do have pip-compile installed
Note that
make clean
did not solve the issuesee logs attached
Version
0.2.120
Relevant log output