Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install pyenchant on OSX snow Leopard. I have installed enchant via macports and it produced no errors, but when I try to install pyEnchant via it gives me this error:

OSError: [Errno 2] No such file or directory: './tools/pyenchant-bdist-osx-sources/build/lib'

I cannot find anything on the pyenchant site og google about this error so I turn to you guys. What can I do to make this work?

share|improve this question

You could look at the Portfile to see what MacPorts does to make it work.

Why can't you use the MacPorts version?

share|improve this answer
I am using the macports version. pyEnchant is (as I understand it) python bindings for the Enchant library. I have installed Enchant just fine, but when I try to put pyEnchant on top, so I can import it in python, it just gives me the error I have posted above. – Mathias Nielsen Sep 9 '10 at 11:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.