Chimera Using Problem

Hi,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, XformImportError: No module named _chimeraI'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.9And 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)? Cordially,Christophe Linhard.

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, http://plato.cgl.ucsf.edu/pipermail/chimera-users/2014-July/010120.html, about using Python modules in Chimera. Bonne Chance, Greg On 07/08/2014 06:38 AM, christophe wrote:
Hi, 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)?
Cordially, Christophe Linhard.
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (2)
-
christophe
-
Greg Couch