I am using pandas in a flask app. One of the lines is:
writer = pd.ExcelWriter(output, engine='xlsxwriter')
However it is giving an import error for the 'xlswriter':
File "/home/seapp/.local/lib/python3.5/site-packages/pandas/io/excel.py", line 1718, in init import xlsxwriter ImportError: No module named 'xlsxwriter'
What should I do to overcome this? I've just tested importing xlswriter to my local area but it did not solve the problem.