From owner-freebsd-python@FreeBSD.ORG Fri Apr 4 03:43:08 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 037A41BC for ; Fri, 4 Apr 2014 03:43:08 +0000 (UTC) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B38D1330 for ; Fri, 4 Apr 2014 03:43:07 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id jw12so1029686veb.13 for ; Thu, 03 Apr 2014 20:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nbHFAOcyIm+QeqvXUahOnc4b4eNhrTuZDaUJVvNujM0=; b=luPwjEkys2XWW+EV1oI+xj2u2QJxxL7N3zsToqHeGV+zWJn1XVWw32Sq8VPS8hvf44 QUoA+imV2thGH/hcGuXsAe5TQj4cLLdmwaxD6qBKxkxKioxlj1KOok9jTpqcKU9ksCwn yCeQtBnvuh/D4L579gqzxLVBVJEVNFOwEyrhelMF3wekrpWNdqTpmJZmE7spV8SOYcxs /w/NwZR/JOTmhSIKoYcGnI9JyDi2wWEssR0XKhGLjDxOW/lpAp+MyCWptClXinS5AdgJ jxs0GRcdkEX07Y0TPG/t3JLZdUTDpVN2Rn/nxzzGAt6HqOe6emHnmX6ZCTPNagjqiICS rffw== MIME-Version: 1.0 X-Received: by 10.52.253.75 with SMTP id zy11mr9360912vdc.10.1396582986265; Thu, 03 Apr 2014 20:43:06 -0700 (PDT) Received: by 10.220.111.6 with HTTP; Thu, 3 Apr 2014 20:43:06 -0700 (PDT) In-Reply-To: <533E109F.6050104@saltant.com> References: <533D5F29.2040506@saltant.com> <533E109F.6050104@saltant.com> Date: Fri, 4 Apr 2014 11:43:06 +0800 Message-ID: Subject: Re: pandas import failed from iPython Notebook From: Irjohn Junus To: "John W. O'Brien" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Python List X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 03:43:08 -0000 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 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 > > 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? > > >