Why directory .bench gone?

after directory .bench gone, framework command not found.
How can i get directory .bench back without update system?

In order to make framework back to work:
goto /home/erpnext/frappe-bench, activate frappeā€™s virtual environment using source ./env/bin/activate

but .bench still missing.

and today source ./env/bin/activate cannot help. I have to load my snapshot (virtualbox).

How the error happened:

  • Back to old snapshot and back to recent snapshot
  • Make some changes in frappe/frappe directory
  • bench restart
  • Error happened
frappe@erpnext:~/frappe-bench$ bench restart
INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-frappe-web: stopped
frappe-bench-node-socketio: stopped
frappe-bench-frappe-schedule: ERROR (abnormal termination)
frappe-bench-frappe-default-worker-0: ERROR (abnormal termination)
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-frappe-web: started
frappe-bench-node-socketio: started

remove changes and bench restart. System back to work.