I recently downloaded the xlsxwriter version 0.6.4
and installed it on my computer. It correctly added it to my C:\Python27\Lib\site-packages\xlsxwriter
folder, however when I try to import it I get the error ImportError: No module named xlsxwriter.
The traceback is File "F:\Working\ArcGIS\ArcGIS .py\Scripts\Append_Geodatabase.py".
However if I try to import numpy (I can't remember what numby is, however it is located in the same site-packages folder C:\Python27\Lib\site-packages\numpy)
it has no problem.
Any idea of what could be causing this issue?
Thanks for the help.
Even if it looks like the module is installed, as far as Python is concerned it isn't since it throws that exception.
Try installing the module again using one of the installation methods shown in the XlsxWriter docs and look out for any installation errors.
If there are none then run a sample program like the following:
import xlsxwriter
workbook = xlsxwriter.Workbook('hello.xlsx')
worksheet = workbook.add_worksheet()
worksheet.write('A1', 'Hello world')
workbook.close()
If you still have a error after that then the most likely/common issue is that you have more than one version of Python installed (for example the system Python and another one used by an IDE) and the library has been installed in one and not the other.