numpy is now an essential part of Scipy. It provides extended data types beyond Python basic data types. Personally I wan to import numpy for its matrix.
Here will explain very breifly how to install numpy on Windows.
Be aware that, numpy is differet from pymssql which could be unzipped to site-package folder directly. If you do as the way explained here as installing pymssql, and then "import numpy" directly, you will get error message reading that it doesn't contain a configuration file.
The reason is that the numpy package, written by C, needs compiling before use. To compile it you may need some C compilers. I don't know the exact way to do it, however.
The way suggested here, also the way I adopted is much more straightforward. Actually there are always contributors do those difficult tasks for us (express my gratefulness). For the latest version of numpy, one are suggested to check out this page and download an exe file. Remember to download the version in accordance with your Python version.
No comments:
Post a Comment