[Chimera-users] Installing colorbrewer for Chimera Python

Paul Kibet Korir pkorir at ebi.ac.uk
Tue Feb 16 04:08:00 PST 2016


I want to use the chimera API and I've managed to configure a successful 
import of chimera except that I get that colorbrewer is not installed.

 >>> import chimera
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
"/Applications/Chimera.app/Contents/Resources/share/chimera/__init__.py", line 
73, in <module>
     import palettes
"/Applications/Chimera.app/Contents/Resources/share/chimera/palettes.py", line 
103, in <module>
"/Applications/Chimera.app/Contents/Resources/share/chimera/palettes.py", line 
95, in _initPresets
     from colorbrewer import ColorBrewer
ImportError: cannot import name ColorBrewer

What is the right way to go about this? (I could create a symbolic link 
to my system colorbrewer, but that doesn't seem clean).

With kind regards,

*Paul K Korir, PhD*
/Scientific Programmer/
Main Building, A2-35,
WTGC, Hinxton, Cambridge CB10 1SD
P: +44 1223 49 44 22
F: +44 1223 49 44 68
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160216/8a89a9b6/attachment.html>

More information about the Chimera-users mailing list