<div dir="ltr"><div><div><div><div><div><div>Hi everyone<br><br></div>I&#39;ve installed pymol and phenix on my scientific linux7.1 workstation.<br></div>I can launch pymol via the launching script($PYMOL_HOME/pymol) normally.<br></div>But when I launched pymol in phenix GUI, I got some error as followed:<br>*********************************************************************************************************************************<br>Traceback (most recent call last):<br>  File &quot;/opt/PyMOL/modules/pymol/__init__.py&quot;, line 71, in &lt;module&gt;<br>    import pymol<br>  File &quot;/opt/PyMOL/modules/pymol/__init__.py&quot;, line 521, in &lt;module&gt;<br>    import pymol._cmd<br>ImportError: /opt/PyMOL/modules/pymol/_cmd.so: undefined symbol: PyUnicodeUCS4_SetDefaultEncoding<br>*********************************************************************************************************************************<br></div>After <span class="">STFW<em>, </em>I knew the problem is about </span><span class=""> unicode variant (UCS2, UCS4).<br></span></div><span class="">I also checked the configuration of two python.<br></span></div><div><span class="">For /bin/python (adopted by pymol)<br></span><pre style="" class=""><code><span class="">&gt;&gt;&gt;</span><span class=""> </span><span class="">import</span><span class=""> sys
</span><span class="">&gt;&gt;&gt;</span><span class=""> </span><span class="">print</span><span class=""> sys</span><span class="">.</span><span class="">maxunicode
</span><span class="">1114111<br><br></span></code><span style="font-family:arial,helvetica,sans-serif">And for $PHENIX_HOME/base/bin/python (adopted by phenix)</span><br>&gt;&gt;&gt; import sys<br>&gt;&gt;&gt; print sys.maxunicode<br>65535<code><span class=""><br><br></span></code></pre><pre style="" class=""><span style="font-family:arial,helvetica,sans-serif">My question is : How do I add the flag --enable-unicode=ucs4 in configuring Python-2.7.8_cci</span><code><span class="">.<br><br></span></code><span style="font-family:arial,helvetica,sans-serif"><br>I&#39;d appreciate if any reply on this.<br></span></pre><pre style="" class=""><span style="font-family:arial,helvetica,sans-serif">acyang<br></span></pre></div><span class=""></span><div><div><span class=""> </span></div></div></div>