--f403045f75a02781cb054e7a5b82
Content-Type: text/plain; charset=UTF-8
Hi Lennart:
I solved the problem of importing python module scipy.optimize by
installing Anaconda2. That worked with the drug-hunting software with both debian8 and debian9. I was short of time and, most importantly, probably incapable of understanding why debian python did not work. Of course those
(and other errors) arise by merely commanding
python
imprt scipy.optimize
thanks for your suggestions
francesco
On Mon, May 1, 2017 at 4:54 PM, Lennart Sorensen <
[email protected]> wrote:
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
--f403045f75a02781cb054e7a5b82
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir="ltr"><div><div><div><div><div>Hi Lennart:<br></div>I solved the problem of importing python module scipy.optimize by installing Anaconda2. That worked with the drug-hunting software with both debian8 and debian9. I was short of time and, most
importantly, probably incapable of understanding why debian python did not work. Of course those (and other errors) arise by merely commanding<br><br></div>python<br></div>>>>imprt scipy.optimize<br><br></div>thanks for your suggestions<br><br></
francesco<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 1, 2017 at 4:54 PM, Lennart Sorensen <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span>
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Apr 29, 2017 at 10:54:59AM -0400, Francesco Pietra wrote:<br>
> With stretch:<br>
><br>
> File "/usr/lib/python2.7/dist-<wbr>packages/scipy/optimize/<wbr>optimize.py", line 769<br>
> with warnings.catch_warnings():<br>
> ^<br>
> SyntaxError: invalid syntax<br>
The only way I can think of that makes that a syntax error would be an<br> actual error on an earlier line that confused the parser.<br>
> _________________<br>
><br>
> With jessie:<br>
><br>
> File "/usr/lib/python2.7/dist-<wbr>packages/scipy/optimize/<wbr>optimize.py", line 17<br>
> from *future* import division, print_function, absolute_import<br>
> SyntaxError: future feature print_function is not defined<br>
><br>
> So, wherever one goes, a wall is found, or is that a wall for me alone?<br>
Probably not too many people running scipy in general.<br>
Running the testsuite is probably worthwhile:<br>
python -c 'import numpy; numpy.test("full");'<br>
python -c 'import scipy; scipy.test("full");'<br>
If it passes, you are probably set to go, and otherwise something probably<br> needs fixing.<br>
Trying on sid, numpy had 2 errors when I tried, but those might be<br>
that the test had to be run in a specific place with some data file.<br>
I didn't check. It complained about not finding a file with some<br> extension (that it didn't bother to say what was).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Len Sorensen<br>
</font></span></blockquote></div><br></div>
--f403045f75a02781cb054e7a5b82--
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)