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/app.py”, line 67, in application
response = frappe.api.handle()
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/api.py”, line 53, in handle
return frappe.handler.handle()
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/init.py”, line 940, in call
return fn(*args, **newargs)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/core/doctype/data_import/exporter.py”, line 295, in get_template
xlsx_file = make_xlsx(reader, “Data Import Template”)
File “/home/cdchiluisa/frappe-bench/apps/frappe/frappe/utils/xlsxutils.py”, line 44, in make_xlsx
wb.save(xlsx_file)
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/workbook/workbook.py”, line 365, in save
save_dump(self, filename)
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/writer/excel.py”, line 313, in save_dump
writer.save(filename)
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/writer/excel.py”, line 266, in save
self.write_data()
File “/home/cdchiluisa/frappe-bench/env/lib/python3.5/site-packages/openpyxl/writer/excel.py”, line 73, in write_data
archive.writestr(ARC_ROOT_RELS, write_root_rels(self.workbook))
File “/usr/lib/python3.5/zipfile.py”, line 1581, in writestr
self.fp.write(zinfo.FileHeader(zip64))
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.