Cannot install pyenchant on OSX

三世轮回 提交于 2019-11-30 16:09:45

You need to install the enchant library first. On the download page pyenchant indicates that it is a prerequisite if you are building from source. (There are pre-build binaries listed for python 2.5 and 2.6 as well.)

I just installed enchant via homebrew on OS X 10.7 and then pyenchant installed without a problem.

If you decide to use homebrew for installing enchant, note that I had to brew install pkg-config separate as the recipe doesn't seem to install it as a dependancy (and fails as a result).

I believe you'll need to install the Apple Developer Tools (XCode) for your Mac OS X version.

If you haven't done so...

cheers James

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