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 and can't find a clear answer, and I haven't been able to puzzle out the answer on my own. My system is Linux Mint 14-ish. Below is a partial list of the things I've tried. Is there anything else I can do? Thanks, John Todd $ obabel -V Open Babel 2.3.2 -- Jan 21 2014 -- 23:20:09 # Open Babel is installed on my system $ sudo apt-get install python-openbabel # I can use apt-get to install it in Python 2 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python-openbabel 0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded. ... Setting up python-openbabel (2.3.2+dfsg-1.1) ... $ sudo apt-get install python3-openbabel # But not in Python 3 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3-openbabel $ pip3 install openbabel # Using pip3 gives me an error with SWIG Downloading/unpacking openbabel Downloading openbabel-1.8.4.tar.gz (74kB): 74kB downloaded Running setup.py (path:/tmp/pip_build_john/openbabel/setup.py) egg_info for package openbabel ... Error: SWIG failed. Is Open Babel installed? You may need to manually specify the location of Open Babel include and library directories. For example: python setup.py build_ext -I/usr/local/include/openbabel-2.0 -L/usr/local/lib python setup.py install ---------------------------------------- Cleaning up... Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_john/openbabel/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-w5p47a1i-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_john/openbabel Storing debug log for failure in /home/john/.pip/pip.log ------------------------------------------------------------------------------ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss