Django, python3, on install I get: "Parent module 'setuptools' not loaded" Django, python3, on install I get: "Parent module 'setuptools' not loaded" django django

Django, python3, on install I get: "Parent module 'setuptools' not loaded"


Something happened in version 50 of setuptools.

We could "solve" this problem by downgrading setuptools to 49.3.0 (and maybe pip to 20.2.1)

pip install setuptools==49.3.0 and pip install pip==20.2.1

Be aware though that this should only be a temporary solution!


There is a temporary workaround described in the setuputils changelog:

export SETUPTOOLS_USE_DISTUTILS=stdlib


Probably you are using setuptools 50.0.0. There are some issues with it. https://github.com/pypa/setuptools/issues/2356Try to downgrade it.

pip install setuptools==49.6.0