Re: [Open Babel] Encoding error: python-openbabel/pybel

2017-07-23 Thread Noel O'Boyle
How was Open Babel and Pybel installed? On 11 July 2017 at 00:46, Keiron O'Shea [keo7] wrote: > Hey there, > > I'm trying to use pybel, but I seem to be experiencing some sort of encoding > error. > > Example Code: > > ``` > import pybel > > print pybel.descs > > mol = pybel.readstring("inchi",

[Open Babel] Encoding error: python-openbabel/pybel

2017-07-13 Thread Keiron O'Shea [keo7]
Hey there, I'm trying to use pybel, but I seem to be experiencing some sort of encoding error. Example Code: ``` import pybel print pybel.descs mol = pybel.readstring("inchi", "InChI=1S/C7H4Cl4/c1-3-6(10)4(8)2-5(9)7(3)11/h2H,1H3") print mol.calcdesc() ``` Returns: ``` /usr/bin/python2.7 "