您的位置:首页 > 编程语言 > Python开发

python 科学工作环境搭建

2015-07-21 12:03 507 查看

python 科学工作环境搭建

已有不少社区在维护python科学工作环境 (reference1)

Anaconda: A free distribution for the SciPy stack. Supports Linux, Windows and Mac.

Enthought Canopy: The free and commercial versions include the core SciPy stack packages. Supports Linux, Windows and Mac.

Python(x,y): A free distribution including the SciPy stack, based around the Spyder IDE. Windows only.

WinPython: A free distribution including the SciPy stack. Windows only.

Pyzo: A free distribution based on Anaconda and the IEP interactive development environment. Supports Linux, Windows and Mac.

而我则由于早早安装了python,并且工作环境在ubuntu下,系统默认安装的python不敢动,听说更新会导致一些信赖软件出问题。所以使用virtualenv (reference2, reference3)

安装:pip install virtualenv

设置虚拟环境:virtualenv –no-site-packages mypy

激活虚拟环境:source mypy/bin/activate

退出虚拟环境:deactivate

安装要用到的一些python模块 (reference4)

help(‘modules’) 查看已有python模块

opencv, vtk
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: