On Sat, Apr 29, 2017 at 10:54:59AM -0400, Francesco Pietra wrote:
> With stretch:
>
> File "/usr/lib/python2.7/dist-packages/scipy/optimize/ optimize.py", line 769
> with warnings.catch_warnings():
> ^
> SyntaxError: invalid syntax
The only way I can think of that makes that a syntax error would be an
actual error on an earlier line that confused the parser.
> _________________
>
> 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?
Probably not too many people running scipy in general.
Running the testsuite is probably worthwhile:
python -c 'import numpy; numpy.test("full");'
python -c 'import scipy; scipy.test("full");'
If it passes, you are probably set to go, and otherwise something probably
needs fixing.
Trying on sid, numpy had 2 errors when I tried, but those might be
that the test had to be run in a specific place with some data file.
I didn't check. It complained about not finding a file with some
extension (that it didn't bother to say what was).
--
Len Sorensen