Ben Levy
10/20/2023, 5:02 AMkedro run
on a pipeline that I've already tested on my local M1 mac, but now I'm on a Cloudera Ubuntu VM. The installation goes fine, but then I get the following error:
AssertionError: /usr/local/lib/python3.8/distutils/core.py
It appears to come from the following:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/cdsw/.local/bin/kedro:5 in <module> │
│ │
│ 2 # -*- coding: utf-8 -*- │
│ 3 import re │
│ 4 import sys │
│ ❱ 5 from kedro.framework.cli import main │
│ 6 if __name__ == '__main__': │
│ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
│ 8 │ sys.exit(main()) │
│ │
...
│ /home/cdsw/.local/lib/python3.8/site-packages/_distutils_hack/__init__.py:64 in │
│ ensure_local_distutils │
│ │
│ 61 │ │
│ 62 │ # check that submodules load as expected │
│ 63 │ core = importlib.import_module('distutils.core') │
│ ❱ 64 │ assert '_distutils' in core.__file__, core.__file__ │
│ 65 │ assert 'setuptools._distutils.log' not in sys.modules │
│ 66 │
│ 67 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
System:
• Debian Ubuntu 20.04.6 LTS
• Kedro==0.18.12
• Python==3.8.18
Any help would be much appreciated!!datajoely
10/20/2023, 9:00 AMEran
10/22/2023, 6:15 AMBen Levy
10/23/2023, 1:51 PMexport SETUPTOOLS_USE_DISTUTILS=stdlib
before installationdatajoely
10/23/2023, 1:53 PMBen Levy
10/23/2023, 1:54 PM