<div dir="ltr">On Tue, Jun 3, 2014 at 10:48 PM, Magnus Andersson <span dir="ltr">&lt;<a href="mailto:magnus.andersson@scilifelab.se" target="_blank">magnus.andersson@scilifelab.se</a>&gt;</span> wrote:<br><div class="gmail_extra">


<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>&gt; I have found it very straightforward to install PyMOL via the cctbx.python wrapper<br>



<br>
</div>Can you explain to a relative Python newbie how this is done?<br></blockquote><div><br></div><div>svn co <a href="https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol" target="_blank">https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol</a></div>


<div>cd pymol</div><div>cctbx.python setup.py build</div><div>cctbx.python setup.py install</div><div><br></div><div>then if you want to be able to launch PyMOL (not just import modules), edit the &quot;pymol&quot; script to replace the Python executable with simply &quot;cctbx.python&quot;.</div>

<div><br></div><div>Although it turns out to be slightly more complicated because PyMOL depends on the GLEW library (<a href="http://glew.sourceforge.net">http://glew.sourceforge.net</a>), but at least that compiles easily.</div>

<div><br></div><div>-Nat</div></div></div></div>