setting up numpy/scipy in idle

Deadly 提交于 2019-12-31 04:13:26

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/18157083/setting-up-numpy-scipy-in-idle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!