Data Import Error frappe

Hello everybody,

I installed frappe on a cloud instance but when I use “Data Import” I cannot export xlsx file. The system show me the following error:
Traceback (most recent call last):
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/”, line 67, in application
response = frappe.api.handle()
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/”, line 53, in handle
return frappe.handler.handle()
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/”, line 22, in handle
data = execute_cmd(cmd)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/”, line 53, in execute_cmd
return, **frappe.form_dict)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/”, line 940, in call
return fn(*args, **newargs)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/core/doctype/data_import/”, line 295, in get_template
xlsx_file = make_xlsx(reader, “Data Import Template”)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/utils/”, line 44, in make_xlsx
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/workbook/”, line 365, in save
save_dump(self, filename)
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/writer/”, line 313, in save_dump
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/writer/”, line 266, in save
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/writer/”, line 73, in write_data
archive.writestr(ARC_ROOT_RELS, write_root_rels(self.workbook))
File “/usr/lib/python3.5/”, line 1581, in writestr
TypeError: string argument expected, got ‘bytes’

I installed the same frappe on a virtual machine and “Data import” works, can you help me please.

I have the same problem (see my post). Seems to be a Python 3 issue.

But it my case it happens on a virtual machine.