TASK [edxapp : Create the virtualenv to install the Python requirements] : FAIL

I’m trying to install open edx using native script but get this error what could be the problem

TASK [edxapp : Create the virtualenv to install the Python requirements] *******

fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“virtualenv”, “/edx/app/edxapp/venvs/edxapp”, “-p”, “python3.5”], “delta”: “0:00:00.116343”, “end”: “2020-04-13 03:25:51.239339”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-04-13 03:25:51.122996”, “stderr”: “Traceback (most recent call last):\n File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 2349, in \n main()\n File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 712, in main\n symlink=options.symlink)\n File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 927, in create_environment\n site_packages=site_packages, clear=clear, symlink=symlink))\n File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/posixpath.py”, line 357, in abspath\n if not isabs(path):\n File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/posixpath.py”, line 64, in isabs\n return s.startswith(sep)\nAttributeError: ‘NoneType’ object has no attribute ‘startswith’”, “stderr_lines”: [“Traceback (most recent call last):”, " File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 2349, in “, " main()”, " File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 712, in main", " symlink=options.symlink)", " File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 927, in create_environment", " site_packages=site_packages, clear=clear, symlink=symlink))", " File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/posixpath.py”, line 357, in abspath", " if not isabs(path):", " File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/posixpath.py”, line 64, in isabs", " return s.startswith(sep)", “AttributeError: ‘NoneType’ object has no attribute ‘startswith’”], “stdout”: “Please use the system python to run this script\nRunning virtualenv with interpreter /edx/app/edxapp/venvs/edxapp/bin/python3.5”, “stdout_lines”: [“Please use the system python to run this script”, “Running virtualenv with interpreter /edx/app/edxapp/venvs/edxapp/bin/python3.5”]}
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry

PLAY RECAP *********************************************************************
localhost : ok=174 changed=44 unreachable=0 failed=1

INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Add admin users ----------------------------------------------------------------- 4.50s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Install ubuntu system packages [1] ---------------------------------------------- 3.64s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Install the nginx package ------------------------------------------------------- 3.60s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Start rabbit nodes -------------------------------------------------------------- 3.46s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Install system packages [1] ----------------------------------------------------- 3.43s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Install memcached --------------------------------------------------------------- 3.40s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install system packages on which LMS and CMS rely ------------------------------- 3.37s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install packages needed by rabbit ----------------------------------------------- 3.28s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: install mongo server and recommends --------------------------------------------- 3.24s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing: Install role-independent useful system packages [2] ----------------------------- 3.22s
INFO:ansible.plugins.callback./var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2020-04-13 03:25:51.263957, 451 total tasks. 0:02:24.660282 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-20200413-032307.log
Your environment:
OPENEDX_RELEASE=open-release/juniper.alpha1

Installation finished at 2020-04-13 03:25:51

@jkbundala, is there a reason why you are using an unreleased, unsupported version open-release/juniper.alpha1 instead of the latest open-release/ironwood.2 release? If this is a production or production-like deployment, I’d strongly recommend using the Ironwood version.

However, if you are using this installation to test the Juniper release, you should update the title of this forum thread to include Juniper alpha as mentioned in this post and ping nedbat with more details.

Thanks @guruprasad i did follow your instructions installed ironwood.1 gave error about django 2.1.2 not found has something related to python2 so i tried ironwood.master and it worked so only problem now is its showing the same lms template for both cms and lms not sure where exactly is the problem