1

I've been asked by my professor to install openbabel on my Mac for a project, but am having problems with installation.

I'm doing

pip install openbabel

I'm getting an error:

Collecting openbabel
  Using cached openbabel-2.4.1.tar.gz
Building wheels for collected packages: openbabel
  Running setup.py bdist_wheel for openbabel ... error  

The error continues here.

My research advisor had me install anaconda to hopefully remedy my issues. which pip yields /Users/melanie/anaconda/bin/pip, so I think I'm good there.

Using Python 3.6.1

Any advice? Thank you for any help you can offer.

Melanie Shebel
  • 2,533
  • 6
  • 30
  • 49

2 Answers2

2

Your research adviser has already tell you the solution.

As you are using Anaconda, try conda install -c openbabel openbabel. Then you are done.

Sraw
  • 17,016
  • 6
  • 45
  • 76
1

Unfortunately the problem still exists in 2022. There is an open issue on Open Babel github repo. conda installation is not always the ideal solution, i.e. when you use Google Colab.

Armut
  • 683
  • 6
  • 19