[Numpy-discussion] Beginner Needing Help with Installation
Thu Nov 19 16:36:43 CST 2009
Yes, I downloaded the files recommended on that webpage. The tar.gz files
unpack, but they do not install, and I am too much of a newbie to figure out
how to install the files in the unpacked folder. No matter where I placed
the numpy folder, I couldn't get Python 2.6 to find and install numpy.
Nevertheless, I did finally find .dmg downloads for numpy and matplotlib and
they installed without my having to get involved.
But when I run a dispersion_plot function, I get an error message from
Python, which I don't understand:
Warning (from warnings module):
ImportWarning: Not importing directory
Python launches the dispersion plot in another window as it apparently
should, so why am I getting an error message? Perhaps, those of you who
program in Python can explain this to me.
On Thu, Nov 19, 2009 at 2:46 PM, Eric Firing <email@example.com> wrote:
> Scot Denhalter wrote:
> > I am a beginning programmer who is reading Natural Language Processing
> > with Python. The book provides tutorials for working with the NLTK,
> > which needs numpy to run certain calculations. I have downloaded and
> > installed Python 2.6. I have downloaded numpy 1.3.0, but I cannot
> > figure out how to install it. I have read the Install.txt that is
> > included, but I don't understand exactly what I need to do. The
> > instructions are clear enough for those familiar with the programming
> > world, but I am obviously not the document's target reader.
> > I am working with a MacBook Pro and do not have either fortran compiler
> > installed. Can someone give me some guidance?
> You don't need a fortran compiler for numpy, even if you are building
> from source; and you probably don't need to build from source. Did you
> try the suggested binary packages for the Mac as listed on the nltk site?
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion