trygogl.blogg.se

Anaconda navigator pc update packages command line
Anaconda navigator pc update packages command line





anaconda navigator pc update packages command line
  1. Anaconda navigator pc update packages command line how to#
  2. Anaconda navigator pc update packages command line install#
  3. Anaconda navigator pc update packages command line code#

The session below illustrates how to activate iraf27 and set up a new IRAF environment working directory. In order to use IRAF you must activate the iraf27 environment. Users/computationalphysics/anaconda/bin/python The session below illustrates the effect of source deactivate. All other Terminal windows continue to use the default environment.

anaconda navigator pc update packages command line

Warning: Activating an environment in a particular Terminal window only effects that terminal session and programs spawned from that session. The command source deactivate deactivates the environment returns the Terminal window to the default root environment. The command ipython -matplotlib runs IPython with a switch that sets-up IPython to do interactive plotting. The which python command isn't necessary, but it was included to verify the path to the current environment is correct. Object? -> Details about 'object', use 'object?' for extra details. ? -> Introduction and overview of IPython's features. IPython 5.1.0 - An enhanced Interactive Python. Type "copyright", "credits" or "license" for more information. Users/computationalphysics/anaconda/envs/astroconda/bin/python 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.

anaconda navigator pc update packages command line

For general purpose programming the default root environment is probably best. Installing these environments allows you to use whichever version of Python you need.

Anaconda navigator pc update packages command line 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

Anaconda navigator pc update packages command line install#

  • 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.

    anaconda navigator pc update packages command line

    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.
  • Users/computationalphysics/anaconda/bin/conda 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.
  • 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:







    Anaconda navigator pc update packages command line