Hi all, I'm trying to get up and running with Spyder on OS X in order to work with the nltk package (http://www.nltk.org), but I'm having little luck.
I already had nltk installed (through pip, together with numpy and pyyaml, which is the method described on nltk.org) and am now trying to use that installation in Spyder. I set the path to the python interpreter in Spyder to /usr/bin/python. That allows me to import nltk, but when doing so, I get the following error: RuntimeError: module compiled against API version 6 but this version of numpy is 4 I haven't had time to find out if that leads to trouble, but I fear it might do so somewhere down the road. I don't get that error when running python from the command line (i.e., Terminal.app), so I guess Spyder is still using its own installed version of numpy. I also had to install matplotlib with easy_install, which resulted in a whole bunch of warnings, so that I'm not certain if I won't run into trouble at some later point. A first test plot seemed to work fine, though. So what would be the best way to install an external package such as nltk on OS X so that I can work with it from within Spyder? Is there a recommended way? Note: I'm a Python newbie, so I may well have misunderstood something or done something wrong without knowing it... Thanks for any help or advice. Joost -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
