Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 11:43:06 +0800
From:      Irjohn Junus <i.junus@gmail.com>
To:        "John W. O'Brien" <john@saltant.com>
Cc:        FreeBSD Python List <freebsd-python@freebsd.org>
Subject:   Re: pandas import failed from iPython Notebook
Message-ID:  <CALXkR%2B-eyvj5-HDtsZ9RqFrBOfSermYwkKGZ5kcahXaaFvU7rQ@mail.gmail.com>
In-Reply-To: <533E109F.6050104@saltant.com>
References:  <CALXkR%2B-%2BzCvM5j6ZK70_y2fjp1ci5feuE=ZzX%2BKpJz-CCNoEfQ@mail.gmail.com> <533D5F29.2040506@saltant.com> <CALXkR%2B8GOHCAhXn85qCTZP9ujJ4=Qj0zo1Ko2awYbX9jtKjQDQ@mail.gmail.com> <533E109F.6050104@saltant.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi John,

It was:
LD_LIBRARY_PATH=/usr/local/lib/gcc47 ipython notebook

Regards,
Irjohn



On Fri, Apr 4, 2014 at 9:53 AM, John W. O'Brien <john@saltant.com> wrote:

> On 4/3/14 4:33 PM, Irjohn Junus wrote:
> [...]
> > 0. I wouldn't know, it's my first time installing Python scientific
> > environment in FreeBSD. No experience with previous versions.
> >
> > 1. Yes, both imports consistently give me ImportError but only in
> > iPython Notebook, works fine in iPyhon console just like importing
> > pandas per my previous email. Captions below.
> >
> > 2. No. Only in iPython Notebook.
> >
> > 3. Ports collection updated to latest just yesterday.
> >
> >  BTW, Jimmy had kindly replied with a temporary solution earlier. Looks
> > more like iPython Notebook issue to me.
>
> Irjohn,
>
> Yes, that does sound like an IPython problem, though I don't believe
> numpy is beyond suspicion either.
>
> Would you mind telling us what the temporary solution is?
>
> Regards,
> John
>
> PS: My messages might not be reaching the list because of this [0].
>
> [0]
>
> http://www.dreamhoststatus.com/2014/03/31/mail-server-sending-issues-due-to-rbl-block/
>
> > On Thu, Apr 3, 2014 at 9:16 PM, John W. O'Brien <john@saltant.com
> > <mailto:john@saltant.com>> wrote:
> >
> >     On 4/3/14 1:30 AM, Irjohn Junus wrote:
> >     > Dear John,
> >     >
> >     > I wrote to iPython maintainer Jimmy earlier and I thought I write
> >     to you
> >     > at the same time hoping you'd have a pointer for me to follow.
> Email
> >     > below. Thank you.
> >
> >     Hi Irjohn,
> >
> >     I'm CC'ing the freebsd-python mailing list get more eyes on this and
> to
> >     record our solution for posterity.
> >
> >     It appears that numpy is implicated in both cases.
> >
> >     0.   Was this working before, with a previous version?
> >
> >     1.   Can you reproduce this by importing the applicable parts of
> numpy
> >          into IPython directly?
> >
> >          In[1]: from numpy.linalg import *
> >
> >          In[2]: from numpy.lib import scimath
> >
> >     2.   Can you reproduce this when using the CPython shell instead of
> >          IPython?
> >
> >     3.   Do you build ports from source or install from a package
> >          repository?
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALXkR%2B-eyvj5-HDtsZ9RqFrBOfSermYwkKGZ5kcahXaaFvU7rQ>