<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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, <a
href="http://plato.cgl.ucsf.edu/pipermail/chimera-users/2014-July/010120.html">http://plato.cgl.ucsf.edu/pipermail/chimera-users/2014-July/010120.html</a>,
about using Python modules in Chimera.<br>
<br>
Bonne Chance,<br>
<br>
Greg<br>
<br>
On 07/08/2014 06:38 AM, christophe wrote:<br>
</div>
<blockquote cite="mid:DUB122-W504F18F2539AFDA5AE07D6C20C0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi,
<div>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:</div>
<div>>>>from chimera import *</div>
<div>
<div>Traceback (most recent call last):</div>
<div> File "C:\Python27\Lib\site-packages\Chimera
1.9\share\testMM.py", line 1, in <module></div>
<div> from chimera import *</div>
<div> File "C:\Python27\Lib\site-packages\Chimera
1.9\share\chimera\__init__.py", line 16, in <module></div>
<div> 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</div>
<div>ImportError: No module named _chimera</div>
</div>
<div>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:</div>
<div>C:\Python27\Lib\Site-packages\chimera 1.9</div>
<div>And i've run my script under the python.exe of chimera.</div>
<div>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)?</div>
<div><br>
</div>
<div>Cordially,</div>
<div>Christophe Linhard.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Chimera-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a>
<a class="moz-txt-link-freetext" href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a>
</pre>
</blockquote>
<br>
</body>
</html>