How to upgrade redash using python3


I am using python3 in my ubuntu system and this Redash is for python2, at the time of installing the python packages it gives the error.
So how can we run the same shell script for upgrading the Redash to the latest version using python3 scripts?