Real Difficulty Installing Nltk On Mac Os X 10.9
Solution 1:
For OS X El Captain do sudo pip install --upgrade nltk --ignore-installed six
Reimport nltk in python code afterwards
Solution 2:
If you are not able to install pip try: How do I install pip on macOS or OS X?
Then try running: pip install nltk
If that fails you might need to run: sudo pip install nltk
Once that is done you should be able to import nltk
I just installed nltk on mavericks so I can confirm that it works.
Solution 3:
I did it on Win 8 & 7 machine prior just fine, but just got a MacBookPro. You are right nothing is clear for Mac, and all you get half the time is arrogant answers from some of the people who do this for a living - not everyone can be a fulltime programmer you know. Any how I figured it out by watching this http://www.youtube.com/watch?v=c9LlK2iu7OA
- Download the developer kit
- install the dev kit
- open terminal
- Go to Home brew and scroll to the bottom of the page for the code
- Paste code into terminal
- Run Home Brew
Once you are up and running with homebrew and all the Dev kits are install the first unix/MAC NLTK instructions will work (http://nltk.org/install.html) in homebrew.. I have no idea why they don't list this on the NLTK page itself. Very counterintuitive. If you need more specifics Watch this video - it was a savior
Post a Comment for "Real Difficulty Installing Nltk On Mac Os X 10.9"