No module named xlsxwriter

No module named xlsxwriter

Anonymous
Not applicable
1,247 Views
2 Replies
Message 1 of 3

No module named xlsxwriter

Anonymous
Not applicable

Hello All,

I am on location using a loaner laptop with Maya 2019 installed to do some work. However, when I attempt to use one my scripts, I get an error that says there was an error because no module named xlsxwriter was found. I've checked to make sure that Python27 is installed and I ran a pip install to add xlsxwriter. I checked it using Geany to make sure that I could create an xlsx file with a simple 'Hello world' script. I am able to produce the xlsx file using Geany, so I'm not sure why it won't work in Maya. Any suggestions? 

 

Below is a screenshot of the simple test I'm running in Maya until I can get it figured out. Any help would be appreciated.

 

no module.PNG

0 Likes
1,248 Views
2 Replies
Replies (2)
Message 2 of 3

morel.katia
Community Visitor
Community Visitor

Hi,

 

did you get any info since back then ?

I got the same issue as you...

Hope you found a solution

 

K.

0 Likes
Message 3 of 3

cheng_xi_li
Autodesk Support
Autodesk Support

Hi,

 

If you are using Python 2(e.g. Maya 2020, Maya 2019...). You'll need to install it manually.

 

You can download it from here.

https://pypi.org/project/XlsxWriter/2.0.0/#files

Use mayapy setup.py install to install it. You may need administrator or root privilege to install it if your Maya is installed by default locations.

 

Yours,

Li

0 Likes