Error at Runtime - OSError: [Errno 2] No such file or directory: '/usr/local/frappe/frappe-bench/env/lib/python27.zip'

After a successful manual installation of the latest version of ERPNext, I get thes, when I start bench using either bench start --no-dev or bench server:

15:19:33 worker_default.1 | 15:19:33 RQ worker u'rq:worker:www_py.jail.vlan.18717.default' started, version 0.7.1
15:19:33 worker_default.1 | 15:19:33 Cleaning registries for queue: default
15:19:33 worker_default.1 | 15:19:33 
15:19:33 worker_default.1 | 15:19:33 *** Listening on default...
15:19:33 watch.1          | Wrote ./assets/js/desk.min.js - 334k
15:19:33 watch.1          | Wrote ./assets/css/form.min.css - 4k
15:19:33 watch.1          | Wrote ./assets/js/editor.min.js - 45k
15:19:33 watch.1          | Wrote ./assets/css/erpnext.css - 4k
15:19:33 watch.1          | Wrote ./assets/js/libs.min.js - 692k
15:19:33 watch.1          | Wrote ./assets/js/erpnext-web.min.js - 4k
15:19:33 watch.1          | Wrote ./assets/css/desk.min.css - 259k
15:19:33 watch.1          | Wrote ./assets/css/frappe-rtl.css - 31k
15:19:33 watch.1          | Wrote ./assets/css/module.min.css - 2k
15:19:34 web.1            |  * Debugger is active!
15:19:34 web.1            |  * Debugger pin code: 286-850-957
15:19:34 web.1            | Exception in thread Thread-6:
15:19:34 web.1            | Traceback (most recent call last):
15:19:34 web.1            |   File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
15:19:34 web.1            |     self.run()
15:19:34 web.1            |   File "/usr/local/frappe/frappe-bench/env/lib/python2.7/site-packages/watchdog/observers/api.py", line 182, in run
15:19:34 web.1            |     self.queue_events(self.timeout)
15:19:34 web.1            |   File "/usr/local/frappe/frappe-bench/env/lib/python2.7/site-packages/watchdog/observers/polling.py", line 78, in queue_events
15:19:34 web.1            |     self._snapshot = self._take_snapshot()
15:19:34 web.1            |   File "/usr/local/frappe/frappe-bench/env/lib/python2.7/site-packages/watchdog/observers/polling.py", line 74, in <lambda>
15:19:34 web.1            |     self.watch.path, self.watch.is_recursive, stat=stat, listdir=listdir)
15:19:34 web.1            |   File "/usr/local/frappe/frappe-bench/env/lib/python2.7/site-packages/watchdog/utils/dirsnapshot.py", line 206, in __init__
15:19:34 web.1            |     st = stat(path)
15:19:34 web.1            | OSError: [Errno 2] No such file or directory: '/usr/local/frappe/frappe-bench/env/lib/python27.zip'

Any ideas what I am missing here. Why is ERPNext looking for python27.zip???
Thanks a lot!

Chris

@rohit_w Can you check and reply.

@chlarsen I think its needed to zip db backup, try adding python27.zip to env

Dear JoEz,
Thanks a lot for your reply.
You mean this is not about a Python version 2.7 zip package, but something like python-zip from pypi? I thought Python has built-in zip capabilities?
The only package I could think of was python-archive, installed it inside the virtualenv, yet it does not make any difference.
Hmmm…
Chris

you are right, but it’s the only thing i can think about … :grin:

Don’t worry, I feel stumpified, too :slight_smile: