Keep getting 'Error: ModuleNotFoundError: No module named 'six'' when trying to run a python script

I am trying to use this script, GN_QuadFillHole, the instructions say to place the script C:\Users\<username>\Documents\maya\<version>\scripts, then reboot Maya and run the following:

import GN_QuadFillHole
GN_QuadFillHole.GN_QuadFillHole(optionBox=False)

But when I run the above I keep getting the following error:

# Error: ModuleNotFoundError: No module named 'six'

Is anyone familiar with this issue? Am on Maya 2025.3

That is a python error, and you should just be able to google that error directly to find more information.

Unfortunately, it doesn’t LOOK like a python traceback because Maya defaults this “Show Stack Trace” option to unchecked. Please go in and make sure that checkbox is checked. It saves SO many headaches in the future.


The solution is to just install six in maya’s python. That’s what the error is saying. It can’t find the module named six

https://help.autodesk.com/view/MAYAUL/2025/ENU/?guid=GUID-72A245EC-CDB4-46AB-BEE0-4BBBF9791627

You will have to find mayapy and open a command prompt in that folder. Then install the package named six. The command will probably look like:
mayapy -m pip install six
Restart maya, and that error should be fixed.

1 Like

six is an old module which was there to handle python 2 to python 3 conversion, that must be an elderly script

1 Like

So that is what it down do… I contacted the author about it, lets see what he says. Thank you everyone.