NumPy in IDLE (Python 3.3.2) on Mac OSx 10.8

后端 未结 2 1159
臣服心动
臣服心动 2021-01-24 17:39

I know this may be a repeat question, but all the answers I\'ve found on here are WAY above my head. I\'m very new at Python, but I would like to use NumPy in IDLE (python 3.3.2

相关标签:
2条回答
  • 2021-01-24 18:02

    If this is a fresh python install:

    1. Type which python into a terminal window to make sure that the correct python is selected. I am guessing that this should be /Library/Frameworks/Python.framework/Versions/3.3.
    2. Download setuptools and pip from https://pypi.python.org and untar both (can just double click in a osx window).
    3. In a terminal change directory to the downloaded setuptools folder: cd ~/Downloads/setuptools-x.x.x
    4. Type python setup.py install.
    5. Repeat 3 & 4 for pip.
    6. Now you can type pip install numpy and it will download and install numpy for you.

    You might want to install everything through a single executable package. A free example can be found here (Anaconda), this includes the entire scipy suite and some extras. You will likely not need the majority of these, but it does include numpy and scipy in a very convenient package.

    0 讨论(0)
  • 2021-01-24 18:05

    These should be simple enough instructions for you http://docs.python.org/3/using/mac.html

    0 讨论(0)
提交回复
热议问题