Melanie Shebel
Melanie Shebel

Reputation: 2914

Error w pip install openbabel: Failed to build openbabel

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.

Upvotes: 5

Views: 5553

Answers (1)

Sraw
Sraw

Reputation: 20196

Your research adviser has already tell you the solution.

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

Upvotes: 5

Related Questions