<div dir="ltr"><div><div><div><div><div>Dear Chimera Team,<br><br></div>I'm currently trying to install BioPython using Chimera's Python copy on Mac OS X.<br><br></div>Thanks to the Chimera Programming FAQ, I've already managed to install BioPython succesfully on Ubuntu, but on Mac OS X I get the following error:<br>

<br><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">Error while importing Combine from /Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share:</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">Traceback (most recent call last):</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share/</span><span style="font-family:courier new,monospace">chimera/extension/base.py", line 349, in _importExtension</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    __import__(module)</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share/</span><span style="font-family:courier new,monospace">Combine/ChimeraExtension.py", line 32, in <module></span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    balloon="Combine molecular models into new model", moleculesOnly=True)</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share/</span><span style="font-family:courier new,monospace">ModelPanel/base.py", line 40, in addButton</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    "Button named '%s' already exists" % name</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">KeyError: "Button named 'copy/combine...' already exists"</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px;min-height:13px"><span style="font-family:courier new,monospace"><br></span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">Error while importing Ramachandran from /Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share:</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">Traceback (most recent call last):</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share/</span><span style="font-family:courier new,monospace">chimera/extension/base.py", line 349, in _importExtension</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    __import__(module)</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share/</span><span style="font-family:courier new,monospace">Ramachandran/ChimeraExtension.</span><span style="font-family:courier new,monospace">py", line 29, in <module></span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    ModelPanel.addButton("</span><span style="font-family:courier new,monospace">Ramachandran plot...", emo.modelPanelCB)</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/share/</span><span style="font-family:courier new,monospace">ModelPanel/base.py", line 40, in addButton</span></p>

<span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    "Button named '%s' already exists" % name</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">KeyError: "Button named 'Ramachandran plot...' already exists"</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px;min-height:13px"><span style="font-family:courier new,monospace"><br></span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">running install</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">running build</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">running build_py</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">running build_ext</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">Error while processing 'setup.py install':</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">TypeError: argument of type 'NoneType' is not iterable</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px;min-height:13px"><span style="font-family:courier new,monospace"><br></span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">  File "/Applications/Chimera.app/</span><span style="font-family:courier new,monospace">Contents/Resources/frameworks/</span><span style="font-family:courier new,monospace">Python.framework/Versions/2.7/</span><span style="font-family:courier new,monospace">lib/python2.7/_osx_support.py"</span><span style="font-family:courier new,monospace">, line 185, in _find_appropriate_compiler</span></p>

<span style="font-family:courier new,monospace">

</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">    if 'llvm-gcc' in data:</span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px;min-height:13px"><span style="font-family:courier new,monospace"><br></span></p><span style="font-family:courier new,monospace">
</span><p style="margin:0px;font-size:11px"><span style="font-family:courier new,monospace">See reply log for Python traceback.</span></p><br><br></div>Is there anything I can do to solve this problem?<br><br></div>Best,<br>

</div>Mateusz<br></div>