Search code examples
pythonnumpyscipypython-idle

setting up numpy/scipy in idle


I would like to use numpy in a python program I am creating, but I can not figure out how to use it inside of IDLE. The download page for numpy redirects to the one for Scipy, which is fine, infact I would like to download the rest of Scipy as well (especially matPlotLib), but it isn't as important to me as numpy, but the scipy download page tells you to get it from even larger packages, none of which I can figure out how to use in IDLE. Note that I use the python 2.x series, and I also use other installed packages in the same program such as pygame, and wxpython. Thank you so much.


Solution

  • As the documentation you linked says:

    You can assemble the Scipy stack from individual packages. For details of what you need, see the specification.

    ...

    Christoph Gohlke provides pre-built Windows installers for many Python packages, including all of the core Scipy stack.

    So, make a list of the main packages you want, check the specification to see the other dependencies you'll need to install to use those packages, go to the pre-built installer page, download them, and run the installers.

    Obviously you need to download the installers corresponding to your Python. You didn't say whether you're using 64-bit or 32-bit Python, and you need to know that. The only other thing you need to know is which Python version you're using, and you already said that was 2.7.