Re: [OpenBabel-scripting] Help needed with OpenBabel in python3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenBabel-scripting] Help needed with OpenBabel in python3

Geoff Hutchison
Hi Nitish,

The openbabel-scripting mailing list has been shut down - much easier to discuss on the general list, because many people are using Python for "general" use. :-)

You tried "pip install openbabel" and it didn't work? What does "dir(openbabel)" say after running pip?

For the "regular install," what version are you using? I'd suggest installing from Git (which will be OB v2.5 this fall). I'm quite certain that works for python3, since I've used that myself.

Thanks,
-Geoff


On May 6, 2017, at 2:26 PM, Nitish Garg <[hidden email]> wrote:

Hi,

I was looking to install OpenBabel bindings for python3. I tried the steps mentioned at http://openbabel.org/docs/dev/Installation/install.html#compile-language-bindings

However, after the installation was done, running 'import openbabel' works fine while nothing is getting imported from openbabel library.
Checking dir(openbabel) shows that the imported library object does not include any modules.

Any idea on what might have gone wrong or what other ways are there to install openbabel for python3 ? I had tried pip also but it was not working.

Thanks and regards,
Nitish Garg
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
OpenBabel-scripting mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Loading...