Hi,

I recognise that code comment :)

Actually, it seems that pymol now includes numpy, I will change my
script and see if it still works.

In the meantime, if you just want axially-aligned bounding boxes, try
this script (not by me):

  http://www.pymolwiki.org/index.php/DrawMinBoundingBox

at least, I think that they are axially-aligned...

gilleain

On Mon, Mar 2, 2009 at 2:53 PM,  <sconill...@chimie.u-strasbg.fr> wrote:
> Hi all,
>
> I would like to use a script found on the PyMol wiki that uses NumPy
> so I need to install it.
> It's written at the top of the script that :
> "#NOTE!! : These packages (numarray, Scientific) must be present in pymol's
> #'$PYMOLDIR/py23/lib/python2.3/site-packages/' directory!!"
>
> I did something that I supposed to be equivalent : installing numpy using
>
>> sudo python setup.py install --prefix $PYMOLDIR/ext
>
> which leads to an installation in
> '$PYMOLDIR/ext/lib/python2.5/site-packages/.'
>
> When I try to launch the script I have this message :
>
>>     from numpy import *
>> ImportError: No module named numpy
>
> Note that every other lib is written in
> '$PYMOLDIR/ext/lib/python2.4/site-packages/.'. Maybe this could ba an
> explanation of my problem but I don't know how to fix it ...
> Furthermore NumPy is correctly installed system-wide on my machine.
>
> Does anybody have an idea to solve my problem ?
>
> Sebastien Conilleau
>
>
> --
>
> Sébastien Conilleau, PhD
> UMR CNRS 7177
> Laboratoire d'Infochimie
> UdS
> 4, rue Blaise Pascal
> 67008 Strasbourg Cedex, France
> Tel : +(33)3-90-24-15-63
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>

Reply via email to