w pip install openbabel错误:无法建立openbabel [英] Error w pip install openbabel: Failed to build openbabel

查看:603
本文介绍了w pip install openbabel错误:无法建立openbabel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请原谅,我是化学家而不是程序员(但我正在研究它.)我是一个初学者.

Forgive me, I'm a chemist and not a programmer (but I'm working on it.) I'm at a very beginner level.

我要在Mac上为项目安装openbabel,但安装时遇到问题.

I'm to install openbabel on my Mac for a project, but am having problems with installation.

我在做

pip install openbabel

我遇到错误:

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

错误在此处继续.

我的研究顾问让我安装了蟒蛇,希望可以解决我的问题. which pip产生/Users/melanie/anaconda/bin/pip,所以我觉得我很好.

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.

使用Python 3.6.1

Using Python 3.6.1

有什么建议吗?感谢您提供的任何帮助.

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

推荐答案

您的研究顾问已经告诉您解决方案.

Your research adviser has already tell you the solution.

在使用Anaconda时,请尝试conda install -c openbabel openbabel.这样就完成了.

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

这篇关于w pip install openbabel错误:无法建立openbabel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆