Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImportError: No module named xlsxwriter

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.

like image 465
pwned555 Avatar asked Dec 09 '14 17:12

pwned555


People also ask

How do I know if XlsxWriter is installed?

You can check if you have the xlsxwriter package installed by running the pip show xlsxwriter command. Copied! The pip show xlsxwriter command will either state that the package is not installed or show a bunch of information about the package, including the location where the package is installed.


1 Answers

Here are some easy way to get you up and running with the XlsxWriter module.The first step is to install the XlsxWriter module.The pip installer is the preferred method for installing Python modules from PyPI, the Python Package Index:

sudo pip install xlsxwriter 

Note

Windows users can omit sudo at the start of the command.

like image 109
byteC0de Avatar answered Sep 17 '22 15:09

byteC0de