Error w pip install openbabel: Failed to build openbabel

自作多情 提交于 2020-06-18 14:47:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!