> I know that as well... what I don't know is how to install it under PyMOL. > If I were using simply python, than that would be no big deal, I did that > a > 1000 times: setup.py --build; setup.py --intall > > Presently I'm using the windows version of PyMol, and installing a > separate > python interpreter, and installing MySQLdb module didn't help. When I > tried > to start PyMOL and enter into command line: > run setup.py --build, it didn't work as well, as it wants to find the file > " > setup.py --build".
If I'm understanding the situation correctly, you're trying to get MySQLdb into the pymol python, not the seperate python installation. And if there's a seperate python.exe in the windows pymol install, you've probably tried that already (there may not be one with the windows pymol binary). When you try to run setup.py with arguments from the pymol python intpreter, it intprets the arguments as a filename. Have you tried re-setting sys.argv before running setup (aka sys.argv=['setup.py','--build'] ; run setup.py,local )? If I'm understanding the help for the pymol run command correctly, you'd want to use either local or module (so that the global namespace doesn't confuse things). This may do strange things to your pymol install, and might not work, but it seems like it would be worth a try. Good luck, Pete Pete Meyer Fu Lab BMCB grad student Cornell University