Re: optimize.py issues with stretch and jessie

2017-05-01 Thread Lennart Sorensen
On Mon, May 01, 2017 at 08:11:45PM +0200, Francesco Pietra wrote: > 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, probabl

Re: optimize.py issues with stretch and jessie

2017-05-01 Thread Francesco Pietra
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 tho

Re: optimize.py issues with stretch and jessie

2017-05-01 Thread Lennart Sorensen
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 th

optimize.py issues with stretch and jessie

2017-04-29 Thread Francesco Pietra
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 *futur