Hi,

Have you installed OpenBabel and in that case, how did you install it? If you 
are not used to developing/installing from source I would suggest that you use 
the Conda distribution of OpenBabel. Install Anaconda (Anaconda.org) and then 
run “conda install openbabel”.

Kind regards,
Fredrik

On 15 Jan 2018, 02:26 +0100, Jose manuel Suarez Sierra 
<josemsuarezsie...@gmail.com>, wrote:
> Hello,
>
> Im having an error when compiling this example code on my macOS
>
> from pybel import *
>
> for molecule in readfile("sdf","../xsaa.sdf"):
>    print molecule.molwt
> I can not make it to work, it prompts the following issue:
> Library/Python/2.7/lib/python/site-packages/_openbabel.so
>   Reason: image not found
>
> I’ll be so grateful if you can help me.
>
> Sincerely yours jm
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to