David Trethewey | 1 Mar 2010 12:46
Picon
Picon
Favicon

Re: Error on importing scikits.learn

I get the following error message when attempting to import the 
expectation maximisation (em) module from scikits.learn :
>
> >>> import scipy
> >>> import numpy
> >>> from scikits.learn.machine import em
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "scikits/learn/machine/em/__init__.py", line 8, in <module>
>    from online_em import OnGMM as _OnGMM
>  File "scikits/learn/machine/em/online_em.py", line 164, in <module>
>    import _rawden
> ImportError: No module named _rawden
>
> Does anyone know what this _rawden module is and why might it not be 
> found?
>
> David Trethewey
> Institute of Astronomy, Cambridge, UK
>
>
David Trethewey | 1 Mar 2010 12:51
Picon
Picon
Favicon

Re: Error on importing scikits.learn

I have traced it back to an error in compiling scikits.learn itself:

building 'scikits.learn.machine.em._rawden' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC

compile options: '-I/usr/lib/python2.6/dist-packages/numpy/core/include 
-I/usr/include/python2.6 -c'
gcc: scikits/learn/machine/em/src/pure_den.c
scikits/learn/machine/em/src/pure_den.c:7:20: error: Python.h: No such 
file or directory

David

David Trethewey wrote:
> I get the following error message when attempting to import the 
> expectation maximisation (em) module from scikits.learn :
>>
>> >>> import scipy
>> >>> import numpy
>> >>> from scikits.learn.machine import em
>> Traceback (most recent call last):
>>  File "<stdin>", line 1, in <module>
>>  File "scikits/learn/machine/em/__init__.py", line 8, in <module>
>>    from online_em import OnGMM as _OnGMM
>>  File "scikits/learn/machine/em/online_em.py", line 164, in <module>
>>    import _rawden
>> ImportError: No module named _rawden
>>
(Continue reading)

Helge Reikeras | 1 Mar 2010 12:55
Picon
Gravatar

Re: Error on importing scikits.learn

On Mon, 01 Mar 2010 13:51:14 +0200, David Trethewey <dlrt2 <at> ast.cam.ac.uk>  
wrote:

>
> compile options: '-I/usr/lib/python2.6/dist-packages/numpy/core/include
> -I/usr/include/python2.6 -c'
> gcc: scikits/learn/machine/em/src/pure_den.c
> scikits/learn/machine/em/src/pure_den.c:7:20: error: Python.h: No such
> file or directory

This is because you don't have the Python header files installed. You need  
to install these somehow. E.g. if you are running Ubuntu you do "sudo  
apt-get install python-dev".

--

-- 
Helge Reikeras
http://www.google.com/profiles/helge.reikeras
Robert Cimrman | 1 Mar 2010 18:20
Picon

ANN: SfePy 2010.1

I am pleased to announce release 2010.1 of SfePy.

Description
-----------

SfePy (simple finite elements in Python) is a software for solving systems of 
coupled partial differential equations by the finite element method. The code 
is based on NumPy and SciPy packages. It is distributed under the new BSD license.

Mailing lists, issue tracking, git repository: http://sfepy.org
Home page: http://sfepy.kme.zcu.cz

Documentation: http://docs.sfepy.org/doc

Contributors to this release: Vladimír Lukeš, Logan Sorenson.

Highlights of this release
--------------------------
- new sphinx-based documentation
- refactoring of base functions (polynomial spaces) and element geometry 
description
- interpolation between different meshes
- terms for describing perfusion and active fibres in the total Lagrangian 
formulation (applicable, for example, to active muscle tissue models)

Major improvements
------------------
Apart from many bug-fixes, let us mention:
- data probing:
   - automatic refinement of probe points, speed-up
(Continue reading)

Nils Wagner | 1 Mar 2010 21:52
Picon

scipy.io.wavfile versus audiolab

Hi all,

what are the differences between audiolab and 
scipy.io.wavfile ?

Nils
Christopher Barker | 1 Mar 2010 23:15
Picon
Favicon

Google Summer of Code...

Hi folks,

Are we going to try to get some sciPy project in GSoC under the Python 
umbrella this year? Or might it be worth applying to be a mentoring 
organization?

Has anyone started thinking about it?

-Chris

--

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker <at> noaa.gov
josef.pktd | 1 Mar 2010 23:35
Picon

Re: Google Summer of Code...

On Mon, Mar 1, 2010 at 5:15 PM, Christopher Barker
<Chris.Barker <at> noaa.gov> wrote:
> Hi folks,
>
> Are we going to try to get some sciPy project in GSoC under the Python
> umbrella this year? Or might it be worth applying to be a mentoring
> organization?
>
> Has anyone started thinking about it?

I sure hope we do, and one project is stats.

Who is organizing gsoc for scipy/numpy?

Josef

>
> -Chris
>
>
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
(Continue reading)

Robert Kern | 1 Mar 2010 23:43
Picon
Gravatar

Re: Google Summer of Code...

On Mon, Mar 1, 2010 at 16:35,  <josef.pktd <at> gmail.com> wrote:
> On Mon, Mar 1, 2010 at 5:15 PM, Christopher Barker
> <Chris.Barker <at> noaa.gov> wrote:
>> Hi folks,
>>
>> Are we going to try to get some sciPy project in GSoC under the Python
>> umbrella this year? Or might it be worth applying to be a mentoring
>> organization?
>>
>> Has anyone started thinking about it?
>
> I sure hope we do, and one project is stats.
>
> Who is organizing gsoc for scipy/numpy?

You, apparently. Congratulations!

More seriously, I don't think there is going to be any organization on
our side, per se. Like every other year, scipy-relevant projects will
most likely be taken care of by the PSF acting as an umbrella
organization. People willing to mentor should contact the PSF
coordinator. By all means, use our mailing lists and Wiki to talk
about possible projects and connect students to mentors, but it's
mostly going to be up to the volunteer mentors to work with the PSF
and your students to get the project proposals submitted and selected.

--

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
(Continue reading)

Skipper Seabold | 1 Mar 2010 23:59
Picon
Gravatar

Re: Google Summer of Code...

On Mon, Mar 1, 2010 at 5:43 PM, Robert Kern <robert.kern <at> gmail.com> wrote:
> On Mon, Mar 1, 2010 at 16:35,  <josef.pktd <at> gmail.com> wrote:
>> On Mon, Mar 1, 2010 at 5:15 PM, Christopher Barker
>> <Chris.Barker <at> noaa.gov> wrote:
>>> Hi folks,
>>>
>>> Are we going to try to get some sciPy project in GSoC under the Python
>>> umbrella this year? Or might it be worth applying to be a mentoring
>>> organization?
>>>
>>> Has anyone started thinking about it?
>>
>> I sure hope we do, and one project is stats.
>>
>> Who is organizing gsoc for scipy/numpy?
>
> You, apparently. Congratulations!
>
> More seriously, I don't think there is going to be any organization on
> our side, per se. Like every other year, scipy-relevant projects will
> most likely be taken care of by the PSF acting as an umbrella
> organization. People willing to mentor should contact the PSF
> coordinator. By all means, use our mailing lists and Wiki to talk
> about possible projects and connect students to mentors, but it's
> mostly going to be up to the volunteer mentors to work with the PSF
> and your students to get the project proposals submitted and selected.
>

One thing I would suggest (I'll be able to pitch in in the next few
days) is cleaning up this with the progress made last summer (anything
(Continue reading)

Jarrod Millman | 2 Mar 2010 00:01
Picon
Favicon
Gravatar

Re: Google Summer of Code...

On Mon, Mar 1, 2010 at 2:15 PM, Christopher Barker
<Chris.Barker <at> noaa.gov> wrote:
> Are we going to try to get some sciPy project in GSoC under the Python
> umbrella this year? Or might it be worth applying to be a mentoring
> organization?

We will definitely be going under the PSF umbrella.  In the past, I've
discussed whether we should apply as a mentoring organization with
Chris DiBona and he has repeatedly strongly encouraged me not to do
that.  He much prefers us remaining under the PSF umbrella.

Moreover, even if Google was interested in us being our own mentoring
organization, I don't see any reason we should pursue it.  It is a
fair bit of additional administrative work for potentially very little
gain.  If we were set up as our own mentoring organization, I am
fairly certain there is no chance we would get any additional reserved
slots.  As far as I remember, the PSF has always given us as many (or
more) scipy-related slots as we request based on the applications that
come in and our pool of potential mentors.

If you are interested in mentoring this year, please register for these lists:
  http://mail.python.org/mailman/listinfo/soc2010-general
  http://mail.python.org/mailman/listinfo/soc2010-mentors

Feel free to add ideas or edit the existing ones here:
http://projects.scipy.org/scipy/wiki/SummerofCodeIdeas

Thanks,

--

-- 
(Continue reading)


Gmane