Rollback to Python 2.x instead of 3

I installed ERPNext using easy install script (with staging branch). It seems that the default python environment is set to Python 3. Is there a way to safely roll back to version 2?

$ bench migrate-env $(which python2)

Should help you migrate with any compiler - ERPNext + Python 3

3 Likes

Thanks Achilles.

Since I was at it, solved this time by deleting whole bench and re-installed.

Will try it in future if needed.

Note: I later realized that Python3 got installed due to Develop switch that I passed to EasyInstall.