Installing Error Ansible Failed!

This is the first time that i try to install open edx locally
with
LMS : 127.0.0.1:80
CMS : 127.0.0.1:8080
open-release : hawthorn.master
Method : Native installation
can someone help me !!
this is the error

TASK [edx_django_service : migrate database] ***********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["make", "migrate"], "delta": "0:00:01.474205", "end": "2021-02-22 10:19:39.010966", "failed": true, "rc": 2, "start": "2021-02-22 10:19:37.536761", "stderr": "/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.\n  from cryptography import utils, x509\nTraceback (most recent call last):\n  File \"manage.py\", line 10, in <module>\n    execute_from_command_line(sys.argv)\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 364, in execute_from_command_line\n    utility.execute()\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 338, in execute\n    django.setup()\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/__init__.py\", line 27, in setup\n    apps.populate(settings.INSTALLED_APPS)\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/registry.py\", line 108, in populate\n    app_config.import_models()\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/config.py\", line 202, in import_models\n    self.models_module = import_module(models_module_name)\n  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\n    __import__(name)\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/models.py\", line 1, in <module>\n    from compressor.conf import CompressorConf  # noqa\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py\", line 7, in <module>\n    from appconf import AppConf\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/__init__.py\", line 1, in <module>\n    from .base import AppConf  # noqa\n  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/base.py\", line 107\n    class AppConf(metaclass=AppConfMetaClass):\n                           ^\nSyntaxError: invalid syntax\nmake: *** [migrate] Erreur 1", "stderr_lines": ["/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.", "  from cryptography import utils, x509", "Traceback (most recent call last):", "  File \"manage.py\", line 10, in <module>", "    execute_from_command_line(sys.argv)", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 364, in execute_from_command_line", "    utility.execute()", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 338, in execute", "    django.setup()", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/__init__.py\", line 27, in setup", "    apps.populate(settings.INSTALLED_APPS)", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/registry.py\", line 108, in populate", "    app_config.import_models()", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/config.py\", line 202, in import_models", "    self.models_module = import_module(models_module_name)", "  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module", "    __import__(name)", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/models.py\", line 1, in <module>", "    from compressor.conf import CompressorConf  # noqa", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py\", line 7, in <module>", "    from appconf import AppConf", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/__init__.py\", line 1, in <module>", "    from .base import AppConf  # noqa", "  File \"/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/base.py\", line 107", "    class AppConf(metaclass=AppConfMetaClass):", "                           ^", "SyntaxError: invalid syntax", "make: *** [migrate] Erreur 1"], "stdout": "python manage.py migrate --noinput\nMakefile:47 : la recette pour la cible « migrate » a échouée", "stdout_lines": ["python manage.py migrate --noinput", "Makefile:47 : la recette pour la cible « migrate » a échouée"]}

NO MORE HOSTS LEFT *************************************************************
	to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

PLAY RECAP *********************************************************************
localhost                  : ok=285  changed=184  unreachable=0    failed=1   

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 1092.55s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] -------------- 702.45s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 573.28s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements ----------------------------------------------- 395.76s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: create service worker users [1] ----------------------------------------------- 391.64s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 266.53s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: code sandbox | Install base sandbox requirements and create sandbox virtualenv [0]  156.44s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install system packages -------------------------------------------------------- 84.79s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Create Diffie-Hellman parameters to prevent weak key exchange ------------------ 68.53s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [0] -------------------------------------------------- 51.34s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2021-02-22 09:19:39.151979, 604 total tasks.  1:15:26.732009 elapsed. 

 
========================================
Ansible failed!
----------------------------------------
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
    Your log file is at logs/install-20210222-090153.log
    Your environment:
        VTE_VERSION=4205
        OPENEDX_RELEASE=open-release/hawthorn.master
========================================
Installation finished at 2021-02-22 10:19:41

Hi @adnenettayeb

I’m facing a similar problem in ginkgo, did you solve it?

TASK [ecommerce : Migrate] *****************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “DB_MIGRATION_USER=‘migrate’ DB_MIGRATION_PASS=‘password’ /edx/app/ecommerce/venvs/ecommerce/bin/python ./manage.py migrate --noinput”, “delta”: “0:00:01.034261”, “end”: “2021-03-15 13:06:31.373528”, “failed”: true, “rc”: 1, “start”: “2021-03-15 13:06:30.339267”, “stderr”: “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/pkg_resources/py2_warn.py:19: UserWarning: \nYou are running Setuptools on Python 2, which is no longer\nsupported and\n>>> SETUPTOOLS WILL STOP WORKING <<<\nin a subsequent release. Please ensure you are installing\nSetuptools using pip 9.x or later or pin to setuptools<45\nin your environment.\nIf you have done those things and are still encountering\nthis message, please comment in\nhttps://github.com/pypa/setuptools/issues/1458\nabout the steps that led to this unsupported combination.\n\n sys.version_info < (3,) and warnings.warn(”" * 60 + msg + "" * 60)\n/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.\n from cryptography import utils, x509\nTraceback (most recent call last):\n File “./manage.py”, line 10, in \n execute_from_command_line(sys.argv)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 367, in execute_from_command_line\n utility.execute()\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 341, in execute\n django.setup()\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/init.py”, line 27, in setup\n apps.populate(settings.INSTALLED_APPS)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/registry.py”, line 108, in populate\n app_config.import_models(all_models)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/config.py”, line 199, in import_models\n self.models_module = import_module(models_module_name)\n File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module\n import(name)\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/models.py”, line 1, in \n from compressor.conf import CompressorConf # noqa\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py”, line 7, in \n from appconf import AppConf\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/init.py”, line 1, in \n from .base import AppConf # noqa\n File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/base.py”, line 107\n class AppConf(metaclass=AppConfMetaClass):\n ^\nSyntaxError: invalid syntax", “stderr_lines”: ["/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/pkg_resources/py2_warn.py:19: UserWarning: ", “You are running Setuptools on Python 2, which is no longer”, “supported and”, “>>> SETUPTOOLS WILL STOP WORKING <<<”, “in a subsequent release. Please ensure you are installing”, "Setuptools using pip 9.x or later or pin to setuptools<45", “in your environment.”, “If you have done those things and are still encountering”, “this message, please comment in”, “Drop support for Python 2.7 · Issue #1458 · pypa/setuptools · GitHub”, “about the steps that led to this unsupported combination.”, "", " sys.version_info < (3,) and warnings.warn("" * 60 + msg + "" * 60)", “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.”, " from cryptography import utils, x509", “Traceback (most recent call last):”, " File “./manage.py”, line 10, in “, " execute_from_command_line(sys.argv)”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 367, in execute_from_command_line", " utility.execute()", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/core/management/init.py”, line 341, in execute", " django.setup()", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/init.py”, line 27, in setup", " apps.populate(settings.INSTALLED_APPS)", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/registry.py”, line 108, in populate", " app_config.import_models(all_models)", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/django/apps/config.py”, line 199, in import_models", " self.models_module = import_module(models_module_name)", " File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module", " import(name)", " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/models.py”, line 1, in “, " from compressor.conf import CompressorConf # noqa”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/compressor/conf.py”, line 7, in “, " from appconf import AppConf”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/init.py”, line 1, in “, " from .base import AppConf # noqa”, " File “/edx/app/ecommerce/venvs/ecommerce/local/lib/python2.7/site-packages/appconf/base.py”, line 107", " class AppConf(metaclass=AppConfMetaClass):", " ^", “SyntaxError: invalid syntax”], “stdout”: “”, “stdout_lines”: }
to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

PLAY RECAP *********************************************************************
localhost : ok=268 changed=65 unreachable=0 failed=1

INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather {{ item }} static assets with paver [1] -------------------------------- 403.14s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ------------------------------------------------ 59.93s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [1] ------------------------------------------------ 59.30s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [0] -------------------------------------------------- 58.88s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [1] -------------------------------------------------- 39.96s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: restart edxapp_workers [0] ----------------------------------------------------- 33.79s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] -------------------------------------------------------------------- 31.05s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [1] -------------------------------------------------------------------- 30.67s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install application requirements ----------------------------------------------- 11.06s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: create service worker users [1] ------------------------------------------------- 8.85s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2021-03-15 13:06:31.432620, 504 total tasks. 0:16:43.741582 elapsed.

Thanks