Comment 6 for bug 1040093

Revision history for this message
Greg MacDonald (gtmacdonald) wrote :

This is a bug with the setup.py script. The first time through with the build_ext command it works with the extra parameters.

The second time through it can't find the the mysql_root option. It attempt to find it through the registry but can't. I tried helping it along by manually setting the correct registry key in setup.py but I think it failed because I'm in 64 bit windows with the additional WoW64 registry.

Setting mysql_root parameter manually in setup.py worked:

self.mysql_root = r'C:\Program Files\MySQL\MySQL Server 5.6'

FYI this will make distutils output more useful debug information:

set DISTUTILS_DEBUG=1

So frustrating. Also be sure and have visual studio 2010 installed, that's what python 3.3 uses.