python 科学工作环境搭建

本文详细介绍了Python科学工作环境的多种选择,包括Anaconda、Enthought Canopy、Python(x,y)、WinPython和Pyzo,并着重阐述了如何通过virtualenv创建和管理虚拟环境,以确保不同项目之间的依赖隔离。

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)

  1. 安装:pip install virtualenv
  2. 设置虚拟环境:virtualenv –no-site-packages mypy
  3. 激活虚拟环境:source mypy/bin/activate
  4. 退出虚拟环境:deactivate

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

  1. help(‘modules’) 查看已有python模块
  2. opencv, vtk
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值