Nadav Horesh | 7 Oct 05:45
Favicon

Re: Scipy in Python 2.6


Scipy from svn compiles with python2.6 with no problem. Problems that came later:
1. Could not install packages of scikits: I got a strange error about unknown name: log
2. When trying to run from "idle" warnings become errors. I think that is a bug of idle.

  Nadav.

-----הודעה מקורית-----
מאת: jah [mailto:jah.mailinglist <at> gmail.com]
נשלח: ג 07-אוקטובר-08 00:45
אל: Nadav Horesh
נושא: Scipy in Python 2.6

Hi Nadav,

I saw:

http://projects.scipy.org/pipermail/numpy-discussion/2008-July/035968.html

where you reported some compilation problems with scipy in Python 2.6.  Did
you resolve this issue?  Do you have any knowledge if the current svn still
has this problem?

Thanks

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
(Continue reading)

Robert Kern | 7 Oct 05:52

Re: Scipy in Python 2.6

2008/10/6 Nadav Horesh <nadavh <at> visionsense.com>:
>
> Scipy from svn compiles with python2.6 with no problem. Problems that came later:
> 1. Could not install packages of scikits: I got a strange error about unknown name: log

It's a bug in the version of setuptools that you have. I believe it
has been fixed in the latest release. But please, when you report an
error message, copy-and-paste the traceback rather than paraphrasing
it.

> 2. When trying to run from "idle" warnings become errors. I think that is a bug of idle.

Probably.

--

-- 
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
Nadav Horesh | 7 Oct 09:15
Favicon

Re: Scipy in Python 2.6

1. The latest release of setuptools solved the problem of scikits
2. Idle error log example:

>>> from pylab import *

Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    from pylab import *
  File "/usr/local/lib/python2.6/site-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/local/lib/python2.6/site-packages/matplotlib/__init__.py", line 96, in <module>
    import md5, os, re, shutil, sys, warnings
  File "/usr/local/lib/python2.6/md5.py", line 8, in <module>
    DeprecationWarning, 2)
  File "/usr/local/lib/python2.6/warnings.py", line 29, in _show_warning
    file.write(formatwarning(message, category, filename, lineno, line))
TypeError: idle_formatwarning_subproc() takes exactly 4 arguments (5 given)

3. I have the feeling that python2.6 goes in the way of python 2.2 that had to pass two bug-fix revisions to be really stable.

  Nadav.


On Mon, 2008-10-06 at 22:52 -0500, Robert Kern wrote:
2008/10/6 Nadav Horesh <nadavh <at> visionsense.com>: > > Scipy from svn compiles with python2.6 with no problem. Problems that came later: > 1. Could not install packages of scikits: I got a strange error about unknown name: log It's a bug in the version of setuptools that you have. I believe it has been fixed in the latest release. But please, when you report an error message, copy-and-paste the traceback rather than paraphrasing it. > 2. When trying to run from "idle" warnings become errors. I think that is a bug of idle. Probably.
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion <at> scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Gael Varoquaux | 7 Oct 07:08
Favicon

Re: Scipy in Python 2.6

On Tue, Oct 07, 2008 at 05:45:44AM +0200, Nadav Horesh wrote:

> Scipy from svn compiles with python2.6 with no problem. Problems that came later:
> 1. Could not install packages of scikits: I got a strange error about unknown name: log

Changes are this is a setuptools problem. Could you post the traceback?
In which case upgrade to latest release: 0.6c9, should fix the problem.

Gaël

Gmane