error: devstack/lib/tempest: line 637: tox:command not found.
The above error is obtained when something went wrong while running the script ./stack.sh.
Mainly when you run the script 2-3 due to some other reasons.
So how to fix the following error: devstack/lib/tempest: line 637: tox:command not found. I Recently got a fix for it.
Firstly check for the tox & tox related folders at location /usr/local/lib/python 3.6/site-packages.
Once you get tox & it’s related folders delete them and run the ./stack.sh script again.
The script will automatically download and Install proper version of tox which will fix the tox: command not found error.