I've been using Enthought Canopy as my python environment for about a year now. Canopy is great because it's dedicated terminal makes installing packages with the right dependencies a breeze using pip install
.
I am using Canopy to support my use of iPython notebook (now Jupyter) and it has worked out fine. However, recently I've been running into lack of support for different packages that run in python 2.x - which canopy is restricted to.
I'm now considering switching to Anaconda. A quick search on stackoverflow shows multiple threads about problems with dependencies, and one thread about how to safely uninstall Anaconda.
Thus, I would like to dedicate this thread to how one actually gets a Anaconda installation right the first time from a non-programmer's point of view. I.e. minimal interaction root and bash scripts etc.
Issues/questions:
ipython notebook
", it will start the Anaconda dependent one.conda install rise
to install Reveal.js. How can I use conda to install local packages?I am hoping that people with experience/advice will link useful threads and links in the comments/answers here. Would be great if this thread was as used as the uninstalling Anaconda safely one.
Anaconda will append(should be appended) itself to your PATH environment variable. When you type "python" or "ipythonnotebook" it will execute the anaconda installed versions.
Anaconda creates a separate python installation. On OS X it will not interfere or communicate with your system python. The install path is /Users/username/anaconda/bin. Anaconda allows you to easily create additional virtual environments with different dependencies and package versions:
conda create -n environment_name python=version_number
Once installed and with Anaconda appended to your PATH if you run any python command it will execute the packages found in ~/anaconda/bin and ignore the system, or additional, python installation. This includes using pip as it is part of Anaconda installation.
Conda is a package management system for Python, although some C and R packages have been added. Someone could create a wrapper for it and you can additionally use pip but again python packages are the main focus.