
try:
    import sympy
except ImportError:
    print("sympy is required")
else:

    if sympy.__version__ < '0.7.5':
        print("SymPy version 0.7.5 or newer is required. You have", sympy.__version__)

    if sympy.__version__ != '0.7.5':
        print("The stable SymPy version 0.7.5 is recommended. You have", sympy.__version__)

try:
    import matplotlib
except ImportError:
    print("matplotlib is required for the plotting section of the tutorial")

try:
    import IPython
except ImportError:
    print("IPython notebook is required.")
else:
    if IPython.__version__ < '2.1.0':
        print("The latest version of IPython is recommended. You have", IPython.__version__)

print("""A fortran and/or C compiler is required for the code generation portion
of the tutorial. However, if you do not have one, you should not worry, as it
will not be a large part of the tutorial.""")


try:
    import sympy
except ImportError:
    print("sympy is required")
else:

    if sympy.__version__ < '1.0':
        print("SymPy version 1.0 or newer is required. You have", sympy.__version__)

    if sympy.__version__ != '1.0':
        print("The stable SymPy version 1.0 is recommended. You have", sympy.__version__)

try:
    import matplotlib
except ImportError:
    print("matplotlib is required for the plotting section of the tutorial")

try:
    import IPython
except ImportError:
    print("IPython notebook is required.")
else:
    if IPython.__version__ < '4.1.2':
        print("The latest version of IPython is recommended. You have", IPython.__version__)

print("""A fortran and/or C compiler is required for the code generation portion
of the tutorial. However, if you do not have one, you should not worry, as it
will not be a large part of the tutorial.""")

Update SymPy/IPython version in test script
Update SymPy/IPython version in test script

  
  try:
      import sympy
  except ImportError:
      print("sympy is required")
  else:
  
-     if sympy.__version__ < '0.7.5':
+     if sympy.__version__ < '1.0':
-         print("SymPy version 0.7.5 or newer is required. You have", sympy.__version__)
+         print("SymPy version 1.0 or newer is required. You have", sympy.__version__)
  
-     if sympy.__version__ != '0.7.5':
+     if sympy.__version__ != '1.0':
-         print("The stable SymPy version 0.7.5 is recommended. You have", sympy.__version__)
+         print("The stable SymPy version 1.0 is recommended. You have", sympy.__version__)
  
  try:
      import matplotlib
  except ImportError:
      print("matplotlib is required for the plotting section of the tutorial")
  
  try:
      import IPython
  except ImportError:
      print("IPython notebook is required.")
  else:
-     if IPython.__version__ < '2.1.0':
+     if IPython.__version__ < '4.1.2':
          print("The latest version of IPython is recommended. You have", IPython.__version__)
  
  print("""A fortran and/or C compiler is required for the code generation portion
  of the tutorial. However, if you do not have one, you should not worry, as it
  will not be a large part of the tutorial.""")
  
Update SymPy/IPython version in test script
## Code Before:

try:
    import sympy
except ImportError:
    print("sympy is required")
else:

    if sympy.__version__ < '0.7.5':
        print("SymPy version 0.7.5 or newer is required. You have", sympy.__version__)

    if sympy.__version__ != '0.7.5':
        print("The stable SymPy version 0.7.5 is recommended. You have", sympy.__version__)

try:
    import matplotlib
except ImportError:
    print("matplotlib is required for the plotting section of the tutorial")

try:
    import IPython
except ImportError:
    print("IPython notebook is required.")
else:
    if IPython.__version__ < '2.1.0':
        print("The latest version of IPython is recommended. You have", IPython.__version__)

print("""A fortran and/or C compiler is required for the code generation portion
of the tutorial. However, if you do not have one, you should not worry, as it
will not be a large part of the tutorial.""")

## Instruction:
Update SymPy/IPython version in test script
## Code After:

try:
    import sympy
except ImportError:
    print("sympy is required")
else:

    if sympy.__version__ < '1.0':
        print("SymPy version 1.0 or newer is required. You have", sympy.__version__)

    if sympy.__version__ != '1.0':
        print("The stable SymPy version 1.0 is recommended. You have", sympy.__version__)

try:
    import matplotlib
except ImportError:
    print("matplotlib is required for the plotting section of the tutorial")

try:
    import IPython
except ImportError:
    print("IPython notebook is required.")
else:
    if IPython.__version__ < '4.1.2':
        print("The latest version of IPython is recommended. You have", IPython.__version__)

print("""A fortran and/or C compiler is required for the code generation portion
of the tutorial. However, if you do not have one, you should not worry, as it
will not be a large part of the tutorial.""")
