在El Capitan上安装PyEnchant时出现问题

时间:2015-12-28 22:48:42

标签: python installation osx-elcapitan pyenchant enchant

我可能只是打开这是一个关于Enchant包的问题,​​但它肯定是我也不能错过的东西。我使用El Capitan和python 2.7。我试了几件事:

pip install penchant似乎成功安装了pyenchant-1.6.6,但是当我尝试import enchant时,我收到了错误ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI.我遵循了建议here并升级了pip。

我遵循了建议here,并以brew install enchant开头,但是错误提示

curl: (22) The requested URL returned error: 404 Not Found Error: Failed to download resource "glib--patch" Download failed: https://gist.githubusercontent.com/jacknagel/af332f42fae80c570a77/raw/7b5fd0d2e6554e9b770729fddacaa2d648327644/glib-hardcoded-paths.diff

我还下载了轮子here(倒数第二个链接),并尝试点击安装它,但得到了它is not a supported wheel on this platform的错误。

思考?感谢。

0 个答案:

没有答案