[Bug] Bench Update Error V12 - cannot import name reload_module

Hi,

There seems to be a bug caused by latest commit in bench repo, which causes error on bench update.
https://github.com/frappe/bench/commit/d2d577201ddb1aa6927cf91652688111cd11d371#diff-2053e6369227d6a2d2952d8ecf3c9728R10

if anyone encounters below error,
ImportError: cannot import name reload_module

Change line 10 in ~/bench/bench/commands/update.py to below and run bench update
from six.moves import reload_module

2 Likes

same issue here, happens for v11 also.