vince7lf / aerial_wildlife_detection

Tools for detecting wildlife in aerial images using active learning
MIT License
0 stars 0 forks source link

ModuleNotFoundError: No module named '_distutils_hack' #42

Open vince7lf opened 2 years ago

vince7lf commented 2 years ago

aide_app_1 | ++ python util/configDef.py --section=Server --parameter=host aide_app_1 | Error processing line 1 of /opt/conda/lib/python3.7/site-packages/distutils-precedence.pth: aide_app_1 | aide_app_1 | Traceback (most recent call last): aide_app_1 | File "/opt/conda/lib/python3.7/site.py", line 168, in addpackage aide_app_1 | exec(line) aide_app_1 | File "", line 1, in aide_app_1 | ModuleNotFoundError: No module named '_distutils_hack'

vince7lf commented 2 years ago

Fixed with setuptools==57.5.0 vs 41.0.0 and below 58.0.0

In Dockerfile: && pip3 install --upgrade --no-cache-dir setuptools==57.5.0 \