[Chimera-users] Chimera Using Problem
gregc at cgl.ucsf.edu
Tue Jul 8 12:44:50 PDT 2014
Using Chimera's python.exe does not work as you noticed. You need to
use chimera.exe instead, but note that "chimera.exe --nogui" gives you a
Chimera command line prompt instead of a Python command line prompt, so
you need to use a Python script. See my answer from yesterday,
about using Python modules in Chimera.
On 07/08/2014 06:38 AM, christophe wrote:
> I'm trying to import chimera in python but when i try to make it i've
> bug, it said to me the following thing just after have execute:
> >>>from chimera import *
> Traceback (most recent call last):
> File "C:\Python27\Lib\site-packages\Chimera 1.9\share\testMM.py",
> line 1, in <module>
> from chimera import *
> File "C:\Python27\Lib\site-packages\Chimera
> 1.9\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: No module named _chimera
> I'm on windows 8 64 bits and i have chimera 1.9 and python 2.7.7 i've
> this following structure of directories:
> C:\Python27\Lib\Site-packages\chimera 1.9
> And i've run my script under the python.exe of chimera.
> So can you said to me what is wrong to fix it cause of i need chimera
> to made a script using superposition ( so with MatchMaker)?
> Christophe Linhard.
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users