some-microphone-33485
06/17/2021, 4:28 PMpython -m pip install --upgrade pip wheel setuptools
python -m pip uninstall datahub acryl-datahub || true # sanity check - ok if it fails
python -m pip install --upgrade acryl-datahub
When I check the version datahub --version it is sending this error . Anything I am missing here ?
RuntimeError: no validator found for <class 'datahub.ingestion.source.kafka_connect.KafkaConnectLineage'>, see `arbitrary_types_allowed` in Config
gray-shoe-75895
06/17/2021, 5:06 PMgray-shoe-75895
06/17/2021, 5:07 PMsome-microphone-33485
06/17/2021, 5:13 PMTraceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/datahub", line 5, in <module>
from datahub.entrypoints import main
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/datahub/entrypoints.py", line 10, in <module>
from datahub.check.check_cli import check
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/datahub/check/check_cli.py", line 9, in <module>
from datahub.ingestion.source.source_registry import source_registry
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/datahub/ingestion/source/source_registry.py", line 5, in <module>
source_registry.load("datahub.ingestion.source.plugins")
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/datahub/ingestion/api/registry.py", line 56, in load
plugin_class = entry_point.load()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/entrypoints.py", line 82, in load
mod = import_module(self.module_name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/datahub/ingestion/source/kafka_connect.py", line 53, in <module>
class ConnectorManifest(BaseModel):
File "pydantic/main.py", line 252, in pydantic.main.ModelMetaclass._new_
File "pydantic/fields.py", line 309, in pydantic.fields.ModelField.infer
File "pydantic/fields.py", line 271, in pydantic.fields.ModelField._init_
File "pydantic/fields.py", line 345, in pydantic.fields.ModelField.prepare
File "pydantic/fields.py", line 439, in pydantic.fields.ModelField._type_analysis
File "pydantic/fields.py", line 504, in pydantic.fields.ModelField._type_analysis
File "pydantic/fields.py", line 507, in pydantic.fields.ModelField._create_sub_type
File "pydantic/fields.py", line 271, in pydantic.fields.ModelField._init_
File "pydantic/fields.py", line 351, in pydantic.fields.ModelField.prepare
File "pydantic/fields.py", line 529, in pydantic.fields.ModelField.populate_validators
File "pydantic/validators.py", line 593, in find_validators
RuntimeError: no validator found for <class 'datahub.ingestion.source.kafka_connect.KafkaConnectLineage'>, see arbitrary_types_allowed in Con
python --version
Python 3.8.10
gray-shoe-75895
06/17/2021, 5:16 PMpython --version
reports 3.8, but the paths in the traceback reference python 3.7gray-shoe-75895
06/17/2021, 5:17 PMpython -m datahub --version
?big-carpet-38439
06/17/2021, 5:25 PMmammoth-bear-12532
some-microphone-33485
06/20/2021, 4:25 PM