Hello everyone, I’m trying to upgrade instance of V3 to V4. When it gets to “installing frappe”, it stays there for a long time and exits with the following stacktrace
installing frappe
Compiling /home/erpnext/frappe-bench/env/build/gunicorn/gunicorn/workers/_gaiohttp.py ...
File "/home/erpnext/frappe-bench/env/build/gunicorn/gunicorn/workers/_gaiohttp.py", line 64
yield from self.wsgi.close()
^
SyntaxError: invalid syntax
Command /home/erpnext/frappe-bench/env/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/erpnext/frappe-bench/env/build/mysql-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-t7E6yF-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/erpnext/frappe-bench/env/include/site/python2.7 failed with error code 1 in /home/erpnext/frappe-bench/env/build/mysql-python
Storing debug log for failure in /home/erpnext/.pip/pip.log
Error: None
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/home/erpnext/bench-repo/bench/cli.py", line 29, in cli
return bench()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/erpnext/bench-repo/bench/cli.py", line 68, in init
no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch)
File "/home/erpnext/bench-repo/bench/utils.py", line 47, in init
get_app('frappe', frappe_path, branch=frappe_branch, bench=path)
File "/home/erpnext/bench-repo/bench/app.py", line 35, in get_app
install_app(app, bench=bench)
File "/home/erpnext/bench-repo/bench/app.py", line 53, in install_app
find_links=find_links))
File "/home/erpnext/bench-repo/bench/utils.py", line 59, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe' returned non-zero exit status 1
Any help will be appreciated