[Bigjob-users] Warning: Using unsupported Python version
Ole Weidner
oweidner at cct.lsu.edu
Tue Jan 3 12:15:19 CST 2012
On Jan 3, 2012, at 12:13 PM, Ole Weidner wrote:
> Hi,
>
> I get the following warning with Python 2.4:
>
> 01/03/2012 01:09:30 PM - bigjob - DEBUG - Using SAGA C++/Python.
> Warning: Using unsupported Python version
>
> This should result in a failed import rather than just a warning. I have BigJob encapsulated in my own code and It took me a good while to figure out what was actually going wrong here, since nothing obviously failed…
E.g., consider putting something like this in your top-level __init__.py:
import sys
if sys.version_info < (2, 6):
raise "must use python 2.6 or greater"
>
> Cheers
> Ole
> _______________________________________________
> Bigjob-users mailing list
> Bigjob-users at mail.cct.lsu.edu
> https://mail.cct.lsu.edu/mailman/listinfo/bigjob-users
More information about the Bigjob-users
mailing list