![conda install ipython conda install ipython](https://files.speakerdeck.com/presentations/d13e8a702d560131840a167c283023d8/slide_14.jpg)
For example if you wanted to run ipython in the astroconda environment you would use the following commands. You don't need to do anything to activate the root environment, but to activate the other environments you issue the command source activate environment_name. For general purpose programming the default root environment is probably best. Installing these environments allows you to use whichever version of Python you need.
#Conda install ipython code#
Again, it's a large amount of code so it will take a few minutes to install. You will again be prompted to proceed with the installation. $ conda create -n iraf27 python=2.7 iraf-all pyraf-all stsci
![conda install ipython conda install ipython](https://beehive.cs.princeton.edu/wp-content/uploads/Screen-Shot-2015-12-20-at-1.49.51-AM-1024x640.png)
Now install the Python 2.7 package with IRAF by using the command:.This is a large installation so it may take a few minutes to finish.
![conda install ipython conda install ipython](https://1.bp.blogspot.com/-lP92_xwm5F8/XKy1eMxil6I/AAAAAAAAHgE/LIpvFI4ergsXWX1zH_h8qWOB_4GlFlvzgCLcBGAs/s1600/pip%2Binstall.png)
Just type y or hit to accept the installation. This command will generate some output and then will display the prompt Proceed (/n)?. Create the Python 3 AstroConda environment.Configure Andaconda to install packages directly from the AstroConda repository.If the installation worked, this should display the path to the conda. Open a terminal window and type which conda.This seems to work better than installing system wide. This will install a directory under your login directory called anaconda. NOTE: When you get to the Destination Select step, be sure to pause and select the Install for me only tab.
#Conda install ipython download#
Download Anaconda Graphical Installer (Python 3.6) from Anaconda Download and follow the instructions on that page to install Anaconda.Refer to that page for more detailed instructions. The following installation instructions is a summary drawn from the Installation Instructions on the Space Telescope Science Institue AstroConda page. This is because IRAF doesn't "play well" with Python 3. An AstroConda/IRAF environment running Python 2.7.An AstroConda environment running Python 3.The Anaconda default (root) environment running Python 3.These instructions should install the Anaconda Python distribution and three separate Anaconda environments: