问题
Forgive me, I'm a chemist and not a programmer (but I'm working on it.) I'm at a very beginner level.
I'm 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.
回答1:
Your research adviser has already tell you the solution.
As you are using Anaconda
, try conda install -c openbabel openbabel
. Then you are done.
来源:https://stackoverflow.com/questions/45851695/error-w-pip-install-openbabel-failed-to-build-openbabel