strong-kite-64511
12/18/2023, 1:20 PMdocker/datahub-ingestion/Dockerfile throws the error below. Can someone help me out with this?
Command:
docker build \
--platform linux/amd64 \
-f ./docker/datahub-ingestion/Dockerfile \
-t datahub-iceberg-ingestion:latest .
Error:
=> ERROR [full-install 1/1] RUN pip install --no-cache --user ".[base]" && pip install --no-cache --user "./airflow-plugin[acryl-datahub-airflow-plugin]" && pip install --no-cache --user ".[a 16.7s
------
> [full-install 1/1] RUN pip install --no-cache --user ".[base]" && pip install --no-cache --user "./airflow-plugin[acryl-datahub-airflow-plugin]" && pip install --no-cache --user ".[all]":
0.928 Processing /datahub-ingestion
0.932 Installing build dependencies: started
15.26 Installing build dependencies: finished with status 'done'
15.27 Getting requirements to build wheel: started
15.52 Getting requirements to build wheel: finished with status 'error'
15.53 error: subprocess-exited-with-error
15.53
15.53 × Getting requirements to build wheel did not run successfully.
15.53 │ exit code: 1
15.53 ╰─> [1 lines of output]
15.53 error in acryl-datahub setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
15.53 [end of output]
15.53
15.53 note: This error originates from a subprocess, and is likely not a problem with pip.
15.53 error: subprocess-exited-with-error
15.53
15.53 × Getting requirements to build wheel did not run successfully.
15.53 │ exit code: 1
15.53 ╰─> See above for output.
15.53
15.53 note: This error originates from a subprocess, and is likely not a problem with pip.
16.52
16.52 [notice] A new release of pip is available: 23.3.1 -> 23.3.2
16.52 [notice] To update, run: pip install --upgrade pip
------
ERROR: failed to solve: executor failed running [/bin/sh -c pip install --no-cache --user ".[base]" && pip install --no-cache --user "./airflow-plugin[acryl-datahub-airflow-plugin]" && pip install --no-cache --user ".[all]"]: exit code: 1strong-kite-64511
12/18/2023, 1:21 PMstrong-kite-64511
12/18/2023, 1:23 PMorange-night-91387
12/18/2023, 5:56 PMstrong-kite-64511
12/18/2023, 7:22 PMstrong-kite-64511
12/18/2023, 7:22 PMdatahub@bb2c35a21120:~$ pip install --no-cache --user ".[base,datahub-rest,datahub-kafka,snowflake,bigquery,redshift,mysql,postgres,hive,clickhouse,glue,dbt,looker,lookml,tableau,powerbi,superset,datahub-business-glossary]"
Processing /datahub-ingestion
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in acryl-datahub setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
datahub@bb2c35a21120:~$ python --version
Python 3.10.13gray-shoe-75895
12/18/2023, 11:30 PMstrong-kite-64511
01/03/2024, 4:46 PMTraceback (most recent call last):
File "/datahub-ingestion/.local/bin/datahub", line 5, in <module>
from datahub.entrypoints import main
ModuleNotFoundError: No module named 'datahub'