Hi! 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". Any other ideas? Thnx DeVill 2007/3/9, Jerome Pansanel <j.pansa...@pansanel.net>:
Hi, You can get MySQL python from here: http://sourceforge.net/projects/mysql-python Jerome Le vendredi 9 mars 2007 15:22, DeVill a écrit: > Hi! > > I end up with the same problem. Just like this plugin i tried: > import MySQLdb > > but I get this error message, when starting up pymol: > > Exception in plugin 'dbsearch' -- Traceback follows... > Traceback (most recent call last): > File "C:\Program Files\DeLano Scientific\PyMOL/modules\pmg_tk\PMGApp.py", > line 156, in initialize_plugins > __builtin__.__import__(mod_name) > File "C:\Program Files\DeLano > Scientific\PyMOL/modules\pmg_tk\startup\dbsearch.py", line 54, in ? > import MySQLdb > ImportError: No module named MySQLdb > Error: unable to initialize plugin 'dbsearch'. > > Bye > DeVill > > 2007/3/9, Jerome Pansanel <j.pansa...@pansanel.net>: > > Hi, > > > > Take a look on this plugin: > > http://pymol-plugins.sourceforge.net/dbsearch.html > > > > Cheers, > > > > Jerome Pansanel > > > > Le vendredi 9 mars 2007 14:24, DeVill a écrit: > > > Hi! > > > > > > I would like to use direct mysql connection to a database in a plugin. > > > > Can > > > > > you please tell me if there is a way to add MySQLdb module to PyMOL? if > > > yes, then how? > > > > > > Bye > > > DeVill > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > PyMOL-users mailing list > > PyMOL-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pymol-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ PyMOL-users mailing list PyMOL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pymol-users