On Tue, Jul 27, 2010 at 7:46 AM, Robert Faryabi <robert.fary...@gmail.com>wrote:
> I am new to numpy. Hopefully this is a correct forum to post my question. > > I have Ubuntu Luci system. I installed Python 2.6.5 and Python 3.0 as well > as python-numpy using Ubuntu repository. > When I import the numpy into python, I get the following error. > > >> import numpy > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named numpy > > The package cannot be located. > > Then I tried to point the interpreter to the numpy > > >>> sys.path.append('/usr/lib/ > python2.6/dist-packages') > > I use an install.pth file $char...@ubuntu ~$ cat ~/.local/lib/python2.6/site-packages/install.pth /usr/local/lib/python2.6/dist-packages You will need to create the .local directory and its subdirectories. Don't use Python 3.0, use 3.1 or greater if you want to experiment. <snip> Chuck
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion