There are several ways to install Open Babel with Python, but for most users, 
we recommend conda-forge / mamba-forge:

conda install -c conda-forge openbabel

I strongly do not recommend using Open Babel 2.3.0. I went back and looked .. 
it was released in 2010.

I doubt it would take long to update the Poltype code - it looks like the main 
problems are covered in the documentation:
https://open-babel.readthedocs.io/en/latest/UseTheLibrary/migration.html#migrating-to-3-0
 
<https://open-babel.readthedocs.io/en/latest/UseTheLibrary/migration.html#migrating-to-3-0>

For example, change to:
from openbabel import openbabel

Hope that helps,
-Geoff

---
Prof. Geoffrey Hutchison
Department of Chemistry
University of Pittsburgh
tel: (412) 648-0492
email: geo...@pitt.edu
twitter: @ghutchis
web: https://hutchisonlab.org/


> I would need some precision of the installation of Openbabel with Python :
> Is it possible to configure the installation of Openbabel 2.3.0 (the one 
> needed for poltype) with Python 3.7, and if not what version of Openbabel 
> and/or Python would you recommend ? (I linked a test of Poltype when we tried 
> to use Openbabel 3.1 in python 3.7 but it was incompatible).
> How would you install Openbabel with Python bindings ?

_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to