我可能只是打开这是一个关于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
的错误。
思考?感谢。