I'm completely new to Python, I'm trying to install NLTK based on http://nltk.org/install.html
I've got everything installed except for numpy
(it says numpy
is optional but when I try to import nltk
, it says there's an error because it couldn't find the numpy
module)
after I run sudo pip install -U numpy
I'm running on a Mac with Mountain Lion, python v2.7.3
I get the following error (I only included the end of log):
File "/private/tmp/pip-build/numpy/numpy/core/setup.py", line 696, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/numpy
Has anyone seen this happen?