The brick01.py script and also load_brick seem to want Numpy support
compiled into pymol. (Which is isnt on the linux versions, but is on
mac/windows). Thanks to Warren for troubleshooting.

Heres what I did to make it work on Ubuntu 606.

I already had python-numeric installed.

sudo apt-get build-dep pymol
sudo apt-get install nvidia-glx-dev

download pymol-src and tar zxvf it
edit pymol-0.99rc6/setup.py to include
"/usr/include/python2.4/Numeric","/usr/share/doc/nvidia-glx-dev/include/"
 in
else:
   inc_dirs=["ov/src",
             "layer0","layer1","layer2",
             "layer3","layer4","layer5",
            
"/usr/include/freetype2","/usr/include/python2.4/Numeric","/usr/share/doc/nvidia-glx-dev/include/"

uncomment the line
                  ("_PYMOL_NUMPY",None),

a bit further down.

save and run sudo python setup.sh install && sudo python setup2.sh
install

However, the density_sliders.py extension I used stopped showing the
Pmw sliders, so I have to troubleshoot that a bit now.

Cheers,
Esben

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to