How to access to Scipy.special functions within the script window
You would need to install scipy into Blender's python installation I would imagine for this to work.

Here are some clear instructions on how to do so: Using 3rd party Python modules

Remember: Blender uses Python 3 so you will need to use the Python 3 version of scipy. The 2.7 version will not work.