Re: [PyMOL] adding python modules for MacPyMOL

2008-12-19 Thread DeLano Scientific
i.com > -Original Message- > From: Ben Eisenbraun [mailto:b...@crystal.harvard.edu] > Sent: Wednesday, December 17, 2008 9:53 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] adding python modules for MacPyMOL > > > Is it possible to add additional

[PyMOL] adding python modules for MacPyMOL

2008-12-17 Thread Ben Eisenbraun
Is it possible to add additional python modules to a MacPyMOL installation? I am trying to install the PyNMR plugin: http://maple.rsvs.ulaval.ca/mediawiki/index.php/PyNMR And it requires the Numeric python module. I have an external python installation built with the module, but it seems that

Re: [PyMOL] Adding python modules

2007-03-10 Thread Peter Adrian Meyer
> Finaly I succesfully installed the .NET framework, the Platform SDK, and so > on... a lot o stuff indeed! I'm not clear on why you'd need the .NET framework (pymol/python stuff is generally compiled to machine code, not CLR bytecode). One thing to check is that you're using the correct compiler

Re: [PyMOL] Adding python modules

2007-03-10 Thread DeVill
2007/3/10, DeVill : 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 con

Re: [PyMOL] Adding python modules

2007-03-09 Thread DeVill
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). Now that fina

Re: [PyMOL] Adding python modules

2007-03-09 Thread DeVill
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 stra

Re: [PyMOL] Adding python modules

2007-03-09 Thread Peter Adrian Meyer
> 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

Re: [PyMOL] Adding python modules

2007-03-09 Thread DeVill
Also tried it :-) 2007/3/9, Jerome Pansanel : Try to copy MySQLdb into: C:\Program Files\DeLano Scientific\PyMOL\py24\Lib\site-packages\ Jerome Pansanel Le vendredi 9 mars 2007 19:54, DeVill a écrit: > Hi! > > I know that as well... what I don't know is how to install it under PyMOL. > If I w

Re: [PyMOL] Adding python modules

2007-03-09 Thread Jerome Pansanel
Try to copy MySQLdb into: C:\Program Files\DeLano Scientific\PyMOL\py24\Lib\site-packages\ Jerome Pansanel Le vendredi 9 mars 2007 19:54, DeVill a écrit : > 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 bi

Re: [PyMOL] Adding python modules

2007-03-09 Thread DeVill
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 interprete

Re: [PyMOL] Adding python modules

2007-03-09 Thread Jerome Pansanel
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: > > Exce

Re: [PyMOL] Adding python modules

2007-03-09 Thread DeVill
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

Re: [PyMOL] Adding python modules

2007-03-09 Thread Jerome Pansanel
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 m

[PyMOL] Adding python modules

2007-03-09 Thread DeVill
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