error during installation of openstack on ubutu16.04

asked 2019-10-31 10:40:23 -0600

i am getting the below error, can you please help, i am running ./stack.sh and this error i get

++functions-common:time_stop:2523 total=0 ++functions-common:time_stop:2525 _TIME_START[$name]= ++functions-common:time_stop:2526 _TIME_TOTAL[$name]=845 ++functions-common:apt_get:1090 return 0 ++tools/install_prereqs.sh:source:74 [[ -n False ]] ++tools/install_prereqs.sh:source:74 [[ False != \F\a\l\s\e ]] ++tools/install_prereqs.sh:source:84 python3_enabled ++inc/python:python3_enabled:577 [[ False == \T\r\u\e ]] ++inc/python:python3_enabled:580 return 1 +++tools/install_prereqs.sh:source:88 which python ++tools/install_prereqs.sh:source:88 export PYTHON=/usr/bin/python ++tools/install_prereqs.sh:source:88 PYTHON=/usr/bin/python ++tools/install_prereqs.sh:source:94 date +%s ++tools/install_prereqs.sh:source:95 date +./stack.sh:main:765 [[ False != \T\r\u\e ]] +./stack.sh:main:766 PYPI_ALTERNATIVE_URL= +./stack.sh:main:766 /opt/stack/devstack/tools/install_pip.sh /opt/stack/devstack/localrc: line 1: $: command not found ++./stack.sh:main:766 err_trap ++./stack.sh:err_trap:562 local r=127 ++./stack.sh:err_trap:563 set +o xtrace stack.sh failed Error on exit Traceback (most recent call last): File "/usr/local/bin/generate-subunit", line 5, in <module> from os_testr.generate_subunit import main ImportError: No module named os_testr.generate_subunit

i tried to update the python-subunit but still facing the same issue -> sudo apt-get install python-subunit

let me know if i need to update any other packages.

edit retag flag offensive close merge delete