[Chimera-users] Import Chimera Modules

Jonathan Williams jkw at iastate.edu
Fri Mar 15 14:49:15 PDT 2013


I am currently trying to import Chimera modules into a non-Chimera python installation.  I have referenced previous messages from this mailing list (http://www.cgl.ucsf.edu/pipermail/chimera-users/2009-March/003620.html), and have added the relevant paths to Chimera in the LD_LIBRARY_PATH, PYTHONPATH, and CHIMERA environment variables.

However when I try to import Chimera, Midas or "import chimeraInit" followed by "chimeraInit.init([])" I receive the following error:

>>> import chimeraInit
>>> chimeraInit.init([])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Applications/Chimera.app/Contents/Resources/share/chimeraInit.py", line 594, in init
    import chimera
  File "/Applications/Chimera.app/Contents/Resources/share/chimera/__init__.py", line 16, in <module>
    from _chimera import BBox, Camera, Color, ColorGroup, DirectionalLight, LODControl, Lens, LensViewer, Light, Material, MaterialColor, Model, NoGuiViewer, OGLFont, OSLAbbreviation, OpenModels, OpenState, PathFinder, PixelMap, Plane, Point, PositionalLight, Selectable, SharedState, SpotLight, Sphere, Texture, TextureColor, TrackChanges, Vector, Viewer, X3DScene, Xform
ImportError: dlopen(/Applications/Chimera.app/Contents/Resources/lib/_chimera.so, 2): Symbol not found: __cg_TIFFClientOpen
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /Applications/Chimera.app/Contents/Resources/lib/libTIFF.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO

I am using MacOSX 10.8.2, Python 2.7.3, and Chimera 1.7 (build 38197) for 64bit Mac.

Any help or advice would be greatly appreciated,

Jon Williams

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20130315/07d1e543/attachment.html>

More information about the Chimera-users mailing list