Re: Python script can't find __future__ module
Posted by
Albert Cardona-2 on
Jul 09, 2018; 10:12pm
URL: http://imagej.273.s1.nabble.com/Python-script-can-t-find-future-module-tp5020940p5020943.html
You may need to install jython 2.7 from the corresponding update site.
> On Jul 9, 2018, at 10:29 AM, Alex <
[hidden email]> wrote:
>
> I'm trying to import with_statement from __future__ but get the following error:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named __future__
>
> Currently using ImageJ 1.52e.
> Is this expected? Examples here (
https://imagej.net/Jython_Scripting) show the import from __future__
> ThanksAlex
>
>
>
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html