Example: biology

Introduction to Anaconda - Yale University

Introduction to AnacondaStephen WestonRobert BjornsonYale Center for Research ComputingYale UniversityApril 2016 What is Anaconda ? Anaconda is a Python distribution that is particularly popular for data analysisand scientific computingOpen source project developed by Continuum Analytics, for Windows, Mac OS X and LinuxIncludes many popular packages: NumPy, SciPy, Matplotlib, Pandas,IPython, CythonIncludesSpyder, a Python development environmentIncludesconda, a platform-independent package managerStephen weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20162 / 8 Installing AnacondaAnaconda is easy to installDownload installer the installer and follow the instructionsAnaconda is installed on Yale clusters Omega and Grace$ module load Langs/ weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20163 / 8 Introduction to CondaSimplifies installation of Python packagesPlatform-independent

Introduction to Anaconda Stephen Weston Robert Bjornson Yale Center for Research Computing Yale University April 2016

Tags:

  Introduction, Anaconda, Weston, Introduction to anaconda

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Introduction to Anaconda - Yale University

1 Introduction to AnacondaStephen WestonRobert BjornsonYale Center for Research ComputingYale UniversityApril 2016 What is Anaconda ? Anaconda is a Python distribution that is particularly popular for data analysisand scientific computingOpen source project developed by Continuum Analytics, for Windows, Mac OS X and LinuxIncludes many popular packages: NumPy, SciPy, Matplotlib, Pandas,IPython, CythonIncludesSpyder, a Python development environmentIncludesconda, a platform-independent package managerStephen weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20162 / 8 Installing AnacondaAnaconda is easy to installDownload installer the installer and follow the instructionsAnaconda is installed on Yale clusters Omega and Grace$ module load Langs/ weston , Robert Bjornson (Yale)

2 Introduction to AnacondaApril 20163 / 8 Introduction to CondaSimplifies installation of Python packagesPlatform-independent package managerDoesn t require administrative privilegesInstalls non-Python library dependencies (MKL, HDF5, Boost)Provides virtual environment capabilitiesManychannelsexist that support additional packagesDocumentation weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20164 / 8 Installing Python packages with CondaIt can be as easy as:$ conda install wxpythonSpecific versions of packages can be requested:$ conda install wxpython= packages are only available in special channels:$ conda install -c vpython vpythonPip can also be used:$ pip install intervaltreeStephen weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20165 / 8 Virtual EnvironmentsEnvironments allow different versions of packages on same machineCreate environment test and install numpy version $ conda create --name test numpy= must be activatedOn Mac OS X and Linux:$ source activate test$ $ source deactivateOn Windows.

3 > activate test> > deactivateStephen weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20166 / 8 More Conda operationsDisplay help for conda command (and sub-commands):$ conda --help$ conda list --helpList packages in current conda environment:$ conda listDisplay all information about conda installation:$ conda info -aSearch for available packages (using regular expressions):$ conda search ^doc # packages that start with "doc"Update package:$ conda update wxpythonUninstall package:$ conda remove wxpythonStephen weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20167 / 8 Warning about installing/updating packagesInstalling packages into existing environment may cause problemsbest to install all necessary packages at same timeinstallcommand may ask permission to update existing packages which mayresult in version conflictsinstall packages into new environments if possible to avoid conflictsStephen weston , Robert Bjornson (Yale) Introduction to AnacondaApril 20168 / 8


Related search queries