3

機械学習コースにはPythonを使用する必要があり、外部ライブラリもいくつかインストールする必要があります。間違って行うとパスが混乱する可能性があると聞いているので、すべてをインストールするための正しい順序について少し混乱しています。

これが私が必要とするものです:

  • Pythonバージョン2.7
  • IPython
  • このパッケージ内で利用可能なライブラリ

したがって、最初のステップは、Pythonがインストールされているかどうかを確認することですはい:このバージョンがあります

 AM@~ >python
 Python 2.7.2 (default, Jun 20 2012, 16:23:33) 
 [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.

次のIPython

 How do I check if I have IPython?
 Also whats the ideal procedure to install it? Any caveats? Any special path settings?     

 Can I use brew to install it?

熱心な図書館

   Do I have to install these libraries in any particular order? before IPython? after IPython? 
   Do I have to set any specific paths?

インストールしてエラーを発生させてから再インストールする必要がないようにしようとしています。

ですから、どんな助けでも大歓迎です。Mac OS X 10.7(Mountain Lion)を実行しています。

ありがとう

4

2 に答える 2

1

It is so simple to get all IPython, Matplotlib, Scipy etc. now that you have Python 2.7 installed. If this is for a course, I assume you have a .edu email address with this institution? If so just go here: http://www.enthought.com/products/edudownload.php

Submit your info. Download and install it like any other program. You will then be able to call ipython from the terminal. Or to use matplotlib call ipython --pylab from the terminal.

Definitely do not go about installing the libraries one-by-one unless you are very familiar with how that works.

于 2012-09-11T01:31:25.553 に答える