echoing-farmer-38304
08/09/2022, 7:17 AMfrom datahub.metadata.schema_classes import (
E ModuleNotFoundError: No module named 'datahub.metadata'
Also, I tried to build a whl package and run, but getting the same error.
If I install with ( pip install acryl-datahub==0.8.41 ), tests run without that error, but in that case it wouldn't see my local changes. Is there any solutions for that?hundreds-photographer-13496
08/09/2022, 7:34 AMechoing-farmer-38304
08/09/2022, 8:54 AM# Follow standard install from source procedure - see above.
# Install, including all dev requirements.
pip install -e '.[dev]'
# For running integration tests, you can use
pip install -e '.[integration-tests]'
# Run unit tests.
pytest -m 'not integration and not slow_integration'
# Run Docker-based integration tests.
pytest -m 'integration'
# Run Docker-based slow integration tests.
pytest -m 'slow_integration'
but this one helped
cd metadata-ingestion
../gradlew :metadata-ingestion:installDev
source venv/bin/activate
datahub version # should print "version: unavailable (installed via git)"
hundreds-photographer-13496
08/09/2022, 9:08 AM