Thursday, December 5, 2013

Compiling Open Babel with Python bindings

Use the commands below to compile Open Babel with python bindings: 

git clone git://
cd openbabel
mkdir build
cd build
make test
sudo make install

Export these variables to use your newly compiled Open Babel:

export PYTHONPATH=/opt/openbabel/lib/python2.7/site-packages:\$PYTHONPATH
export LD_LIBRARY_PATH=/opt/openbabel/lib:\$LD_LIBRARY_PATH
export PATH=/opt/openbabel/bin:\$PATH

No comments:

Post a Comment