[Chimera-users] Chimera Using Problem
Greg Couch
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,
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 at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140708/35f964a4/attachment.html>
More information about the Chimera-users
mailing list