Hi guys! i’m trying to build the project as per `<...
# ingestion
a
Hi guys! i’m trying to build the project as per
<https://datahubproject.io/docs/metadata-ingestion/developing/>
but i got the following error:
Copy code
[ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
15:09:05.346 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':metadata-ingestion:checkPythonVersion'.
15:09:05.346 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Process 'command 'python3'' finished with non-zero exit value 134
I can see that task is only checking for the python version install to be >= 3.6
Copy code
task checkPythonVersion(type: Exec) {
  commandLine python_executable, '-c', 'import sys; assert sys.version_info >= (3, 6)'
}
I have installed python 3.6 from conda distribution…any idea?
b
just taking a shot on this... but is there a ./venv/ folder inside metadata-ingestion? the gradle task should be checking for the version of the python in the venv folder actually
a
nope, gradle didn’t create the virtual env
seems that
environmentSetup
(the step that creates the venv) runs after
checkPythonVersion
and it’s failing in checkPythonVersion
that’s why there’s no venv
oh sorry, my bad…seems there was an issue with my bashprofile …some sessions where pointing python3 to conda and other to the python version that comes with OSX
apologies!