optimize.py issues with stretch and jessie

Francesco Pietra <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <CAEv0nmu58xTbtX6Lk+-MoYMSXXX1Lid+ExYoBpZSy7AbrMSkgA@mail.gmail.com>
With stretch:

File "/usr/lib/python2.7/dist-packages/scipy/optimize/optimize.py", line 769
    with warnings.catch_warnings():
                     ^
SyntaxError: invalid syntax
_________________

With jessie:

File "/usr/lib/python2.7/dist-packages/scipy/optimize/optimize.py", line 17
from *future* import division, print_function, absolute_import
SyntaxError: future feature print_function is not defined

So, wherever one goes, a wall is found, or is that a wall for me alone?

francesco pietra
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.