Robert Kern wrote:
Jeremiah
H. Savage wrote:
To use pymol and numpy together, I now do the following:
To ~/.bashrc add:
PYMOL_PATH=/usr/lib/pymodules/python2.5/pymol
export PYMOL_PATH
Then I can do the following in python:
import numpy
numpy.save('123',numpy.arra
Jeremiah H. Savage wrote:
To use pymol and numpy together, I now do the following:
To ~/.bashrc add:
PYMOL_PATH=/usr/lib/pymodules/python2.5/pymol
export PYMOL_PATH
Then I can do the following in python:
import numpy
numpy.save('123',numpy.array([1,2,3]))
numpy.
On Wed, Nov 11, 2009 at 7:48 PM, Dave Angel wrote:
>
>
> Jeremiah wrote:
>>
>> Hello,
>>
>> I'm fairly new to python (version 2.5.4), and am writing a program
>> which uses both pymol (version 1.2r1) and numpy (version 1.3.0) from
>> debian.
>>
>> It appears that when I add pymol to $PYTHONPATH, t
Jeremiah wrote:
Hello,
I'm fairly new to python (version 2.5.4), and am writing a program
which uses both pymol (version 1.2r1) and numpy (version 1.3.0) from
debian.
It appears that when I add pymol to $PYTHONPATH, that parser.expr() is
no longer available, and so I am unable to use numpy.lo
On Wed, 11 Nov 2009 17:41:07 -0800, Jeremiah wrote:
> Hello,
>
> I'm fairly new to python (version 2.5.4), and am writing a program which
> uses both pymol (version 1.2r1) and numpy (version 1.3.0) from debian.
>
> It appears that when I add pymol to $PYTHONPATH, that parser.expr() is
> no longe
Jeremiah wrote:
However, a problem arises once $PYTHONPATH includes the pymol
directory. 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
Don't change your PYTHONPATH li