Hi again,
I am trying to install and use the bvp package in scipy. I download
the source file in my home directory, then
$ cd bvp-0.2.4
$ sudo python setup.py build
$ sudo python setup.py install
When I type (in python)
>>> import scipy.special
>>> import bvp
Iget the following error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "bvp/__init__.py", line 6, in <module>
import colnew
File "bvp/colnew.py", line 63, in <module>
import _colnew
ImportError: No module named _colnew
I use ubuntu 8.10 on a Dell inspiron. Thank you very much
(especially Robert Kern for rapid answer),
ozan
Date: Mon, 24 Nov 2008 16:00:55 -0600
From: "Robert Kern" <robert.kern@gmail.com>
Subject: Re: [SciPy-user] bvp import problem
To: "SciPy Users List" <scipy-user@scipy.org>
Message-ID:
<3d375d730811241400w43a99174kb449eb40562f6ff1@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Mon, Nov 24, 2008 at 15:57, ozan bakis <ozanbakis@gmail.com> wrote:
> Hi all,
>> I am very new to python and scipy. As an economist I am especially
> interested in optimization
> and differential equations tools of scipy. I have tried the some of the
> online examples and have
> been impressed by how easy userfriendly it is. Thank you for great work.
>> I have tried to install bvp package as explained ot its web site by
>>>> sudo python setup.py build
>> I did not get any error.
That's how to build it. Now, you need to install it.
$ sudo python setup.py install
Note that this, and the previous command, should be done at a terminal
shell, not the Python prompt.
> But when I want to import bvp I get the following:
>>>> import scipy as N
>>>> N.pkgload('special')
Don't use pkgload(). Just import scipy.special.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20081125/e5d11a49/attachment.html