[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pymol vs numpy conflict



On Wed, Nov 11, 2009 at 8:08 AM, Jeremiah H. Savage
<jeremiahsavage@gmail.com> wrote:

> However, a problem arises when I attempt to use pymol in the same
> program. First, to use the pymol api, I add the following to
> ~/.bashrc:
>
>    PYMOL_PATH=/usr/lib/pymodules/python2.5/pymol
>    export PYMOL_PATH
>    PYTHONPATH=$PYMOL_PATH
>    export PYTHONPATH

I'd suggest not putting the pymol directory in the PYTHONPATH and
instead do 'import pymol.parser' or similar. Also check how numpy is
importing numpy.parser.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: