我需要使用python进行机器学习课程,我还需要安装一些外部库。我对于安装所有东西的正确顺序有点困惑,因为我听说如果做得不正确,路径会变得混乱。如何检查我的机器上是否安装了IPython以及安装这些库的顺序是什么?
以下是我需要:
- Python版本2.7
- IPython的
- 通过enthought可用这个包内的库
所以第一步是看我是否有蟒蛇安装 是:我有这个版本
[email protected]~ >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?
Enthought库
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)。
感谢
我发现这一切都是通过将所有库一一安装(除了Matplotlib永远不会出于某种原因),然后我升级到Mountain Lion,我的所有库都不见了;所以我去寻找一个更简单的方法来做到这一点。 – chimpsarehungry