<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
(I assume you meant --nostatus)<br>
<br>
For me the simple test of a file with:<br>
<blockquote type="cite">import os<br>
os.system("chimera --nogui --nostatus")<br>
</blockquote>
works just fine. So it's probably something about your particular
setup that is tickling this bug.<br>
<br>
It might be the directory that you're running the script in, it
might have python modules/packages that conflict with chimera's. Or
it might something in the environment. Chimera tries to protect its
python from the user's environment, but maybe we missed something.
Also double check that the chimera you're invoking is the one you're
expecting -- try using an absolute path to chimera while you're
debugging this.<br>
<br>
HTH,<br>
<br>
Greg<br>
<br>
<div class="moz-cite-prefix">On 06/20/2016 01:18 PM, Subha
Kalyaanamoorthy wrote:<br>
</div>
<blockquote
cite="mid:CAFuN1V=LQODN3z85bWCzaWiDtbVU9hS5ZxRY_-0p4Ev0j=QT1w@mail.gmail.com"
type="cite">
<div dir="ltr"><font face="verdana, sans-serif">Hi There,</font>
<div><font face="verdana, sans-serif"><br>
</font></div>
<div><font face="verdana, sans-serif">I am trying to call a
script with Chimera commands(saved as sample.py file) in
another python program using os.system("chimera --nogui
--nostats sample.py") and I get an module load error as
below,</font></div>
<div><font face="verdana, sans-serif"><br>
</font></div>
<div>
<p style="margin:0px;line-height:normal"><span style=""><font
face="verdana, sans-serif">import chimera</font></span></p>
<p style="margin:0px;line-height:normal"><span style=""><font
face="verdana, sans-serif">ImportError: No module named
chimera</font></span></p>
<p style="margin:0px;line-height:normal"><span style=""><font
face="verdana, sans-serif"><br>
</font></span></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif">However, if I call the script with chimera it
works, for eg., chimera --nogui --nostats sample.py typed
directly in terminal is working.</font></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif"><br>
</font></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif">Can anybody help fix this error?</font></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif"><br>
</font></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif">Thanks in advance,</font></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif">Best Regards,</font></p>
<p style="margin:0px;line-height:normal"><font face="verdana,
sans-serif">Subha</font></p>
<div><br>
</div>
</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>
Manage subscription: <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>