[Numpy-discussion] Beginner Needing Help with Installation

Scot Denhalter scot.denhalter at gmail.com
Thu Nov 19 17:36:43 EST 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):
line 91
    import pytz.zoneinfo
ImportWarning: Not importing directory
missing __init__.py

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 <efiring at hawaii.edu> 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?
> http://www.nltk.org/download
> Eric
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20091119/e8fe9c2a/attachment.html>

More information about the NumPy-Discussion mailing list