Re: [Open Babel] OpenBabel for Python 3?

2017-02-19 Thread i4hashmi
Thank you so much David for the hint. Now I checked the path of python3 by "which python3" and it gave me the path "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3" Then I changed the command to: *cmake ../ -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.5/bin/py

Re: [Open Babel] OpenBabel for Python 3?

2017-02-19 Thread David Hall
My guess is that your python3 is not at /usr/bin/python3 . Are you sure it isn't at /usr/local/bin/python3 ? Based on your Python.framework information, that would seem to be likely where it is. On that note, we should consider printing an error if the detected version of python is 1.4 ; that mean

Re: [Open Babel] OpenBabel for Python 3?

2017-02-19 Thread i4hashmi
Hi David, Can you please suggest me a solution? I am trying it for the last two weeks but could not find a solution. I even posted a thread at this forum but could not solve the problem. Now as your directions, I downloaded the openbabel from git: https://github.com/openbabel/openbabel And then