Re: [Open Babel] OpenBabel for Python 3?

2019-09-26 Thread RandyBonnette
I have issues with OpenBabel in Python3.6 - I found an older topic. But the solution suggested by Neil is not working. Please help. -- Sent from: http://forums.openbabel.org/General-discussion-f3090658.html ___ OpenBabel-discuss mailing list

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 ../

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

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

Re: [Open Babel] OpenBabel for Python 3?

2016-12-02 Thread tpsanjan
Thanks ... it worked like a charm. Infact conda was the first thing I had tried, not sure why it didn't work first time. Best, Sanjan On Wed, Nov 30, 2016 at 7:42 AM, mwojcikowski [via Open Babel] < ml-node+s957263n4659623...@n4.nabble.com> wrote: > Hi Sanjan, > > Since you've already have

Re: [Open Babel] OpenBabel for Python 3?

2016-11-30 Thread tpsanjan
Hi, I have been trying install python bindings for openbabel 2.4.1 on Ubunut16.04 with python 3.5.2 (installed via Anaconda) but haven't been able to get it working. Here's what I have tried so far: Based on David Hall's post in this thread: $ git clone

Re: [Open Babel] OpenBabel for Python 3?

2016-08-09 Thread John
I thought I had, but apparently not, because after I installed it everything worked. Thanks for the help, John On 08/09/2016 01:05 PM, David Hall wrote: do you have python3-dev installed? On Aug 9, 2016, at 12:57 PM, John >

Re: [Open Babel] OpenBabel for Python 3?

2016-08-09 Thread David Hall
do you have python3-dev installed? > On Aug 9, 2016, at 12:57 PM, John wrote: > > PYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 -- What NetFlow Analyzer can do for you? Monitors network

Re: [Open Babel] OpenBabel for Python 3?

2016-08-09 Thread David Hall
If you use the version of openbabel from git (which I would recommend over for the 2.3.2 release), then you can just specify PYTHON_EXECUTABLE as the python3 and it should find everything correctly. $ git clone https://github.com/openbabel/openbabel.git $ cd openbabel $ mkdir build $ cd build $

Re: [Open Babel] OpenBabel for Python 3?

2016-08-09 Thread Geoffrey Hutchison
Please don't reply to me directly. Many other people on the mailing list can answer your question. Your problem is clear from the WARNING. You want something like -DPYTHON_LIBRARY=/usr/lib/python3.4/libpython.so You need to link to a *file* not a directory where the file is found. Hope that

Re: [Open Babel] OpenBabel for Python 3?

2016-08-08 Thread Geoffrey Hutchison
> I am fairly new at Python, and am trying to stick to the latest version. > Is it possible to install the Open Babel bindings for Python 3? Yes. I don't know about the pip packages (or Mint ones) but you can do this from source, e.g.:

[Open Babel] OpenBabel for Python 3?

2016-08-07 Thread John
Hello, thank you for your development and publication of the Python bindings for Open Babel. I am fairly new at Python, and am trying to stick to the latest version. Is it possible to install the Open Babel bindings for Python 3? I've looked at the OpenBabel.org and PyPI website descriptions