- Install Anaconda Catalina Fire
- Install Anaconda Catalina Pictures
- Install Anaconda Catalina Boat
- Install Anaconda Catalina Patcher
Anaconda.org is an Anaconda product, just like Anaconda and Miniconda. To install a package from Anaconda.org. (or /opt/pkgs/ on macOS Catalina). To install a specific pandas version: conda install pandas=0.20.3 To install other packages, IPython for example: conda install ipython To install the full Anaconda distribution: conda install anaconda If you need packages that are available to pip but not conda, then install pip, and then use pip to install those packages. If you are on macOS Catalina, the new default shell is zsh. You will instead need to run source conda/bin/activate followed by conda init zsh. Updating Anaconda or Miniconda ¶. I made a fresh install of anaconda on macOS Catalina and after running conda update -all, spyder didn't open anymore. I had to make another fresh install for it to function. Conda create -n py38 anaconda=2020.02 python=3.8 or conda create -n py36 anaconda=2020.02 python=3.6. As a reminder of what “metapackages” are, please read our blog post on clarifying the Anaconda metapackage. Speaking of End of Life, Windows 7 EOL was January 14, 2020. This release of Anaconda supports Windows 7, but it is the last to do so.
Note
There are many options available for the commands describedon this page. For details, see Command reference.
Use the terminal or an Anaconda Prompt for the following steps.
To see if a specific package, such as SciPy, is available forinstallation:
To see if a specific package, such as SciPy, is available forinstallation from Anaconda.org:
To see if a specific package, such as iminuit, exists in aspecific channel, such as http://conda.anaconda.org/mutirri,and is available for installation:
Use the terminal or an Anaconda Prompt for the following steps.
To install a specific package such as SciPy into an existingenvironment 'myenv':
If you do not specify the environment name, which in thisexample is done by --namemyenv
, the package installsinto the current environment:
To install a specific version of a package such as SciPy:
To install multiple packages at once, such as SciPy and cURL:
Note
It is best to install all packages at once, so that all ofthe dependencies are installed at the same time.
To install multiple packages at once and specify the version ofthe package:
To install a package for a specific Python version:
If you want to use a specific Python version, it is best to usean environment with that version. For more information,see Troubleshooting.
Install Anaconda Catalina Fire
Installing packages that have similar filenames and serve similarpurposes may return unexpected results. The package last installedwill likely determine the outcome, which may be undesirable.If the two packages have different names, or if you're buildingvariants of packages and need to line up other software in the stack,we recommend using Mutex metapackages.
Packages that are not available using condainstall
can beobtained from Anaconda.org, a package management service forboth public and private package repositories. Anaconda.orgis an Anaconda product, just like Anaconda and Miniconda.
To install a package from Anaconda.org:
In a browser, go to http://anaconda.org.
To find the package named bottleneck, type
bottleneck
in the top-left box named Search Packages.Find the package that you want and click it to go to thedetail page.
The detail page displays the name of the channel. In thisexample it is the 'pandas' channel.
Now that you know the channel name, use the
condainstall
command to install the package. In your terminal window oran Anaconda Prompt, run:This command tells conda to install the bottleneck packagefrom the pandas channel on Anaconda.org.
To check that the package is installed, in your terminal windowor an Anaconda Prompt, run:
A list of packages appears, including bottleneck.
Note
For information on installing packages from multiplechannels, see Managing channels.
If a package is not available from conda or Anaconda.org, you may be able tofind and install the package via conda-forge or with another package managerlike pip.
Pip packages do not have all the features of conda packages and we recommendfirst trying to install any package with conda. If the package is unavailablethrough conda, try finding and installing it withconda-forge.
If you still cannot install the package, you can tryinstalling it with pip. The differences between pip andconda packages cause certain unavoidable limits in compatibility but condaworks hard to be as compatible with pip as possible.
Note
Both pip and conda are included in Anaconda and Miniconda, so you do notneed to install them separately.
Conda environments replace virtualenv, so there is no need to activate avirtualenv before using pip.
It is possible to have pip installed outside a conda environment or inside aconda environment.
To gain the benefits of conda integration, be sure to install pip inside thecurrently active conda environment and then install packages with thatinstance of pip. The command condalist
shows packages installed this way,with a label showing that they were installed with pip.
You can install pip in the current conda environment with the commandcondainstallpip
, as discussed in Using pip in an environment.
If there are instances of pip installed both inside and outside the currentconda environment, the instance of pip installed inside the current condaenvironment is used.
To install a non-conda package:
Activate the environment where you want to put the program:
On Windows, in your Anaconda Prompt, run
activatemyenv
.On macOS and Linux, in your terminal window, run
condaactivatemyenv
.
To use pip to install a program such as See, in your terminal window or an Anaconda Prompt,run:
To verify the package was installed, in your terminal window or an Anaconda Prompt,run:
If the package is not shown, install pip as described in Using pip in an environmentand try these commands again.
Installing a commercial package such as IOPro is the same asinstalling any other package. In your terminal window or an Anaconda Prompt,run:
This command installs a free trial of one of Anaconda'scommercial packages called IOPro, which can speed up yourPython processing. Except for academic use, this free trialexpires after 30 days.
Use the terminal or an Anaconda Prompt for the following steps.
To list all of the packages in the active environment:
To list all of the packages in a deactivated environment:
To find what packages are depending on a specific package inyour environment, there is not one specific conda command.It requires a series of steps:
List the dependencies that a specific package requires to run:
condainfopackage_name
Find your installation’s package cache directory:
condainfo
Find package dependencies. By default, Anaconda/Miniconda stores packages in ~/anaconda/pkgs/ (or ~/opt/pkgs/ on macOS Catalina).Each package has an index.json file which lists the package’s dependencies.This file resides in ~anaconda/pkgs/package_name/info/index.json.
Now you can find what packages depend on a specific package. Use grep to search all index.json filesas follows:
greppackage_name~/anaconda/pkgs/*/info/index.json
The result will be the full package path and version of anything containing the <package_name>.
Example:grepnumpy~/anaconda3/pkgs/*/info/index.json
Output from the above command:
Note this also returned “numpydoc” as it contains the string “numpy”. To get a more specific resultset you can add < and >.
Use condaupdate
command to check to see if a new update isavailable. If conda tells you an update is available, you canthen choose whether or not to install it.
Use the terminal or an Anaconda Prompt for the following steps.
To update a specific package:
To update Python:
To update conda itself:
Note
Conda updates to the highest version in its series, soPython 2.7 updates to the highest available in the 2.x series and3.6 updates to the highest available in the 3.x series.
To update the Anaconda metapackage:
Regardless of what package you are updating, conda comparesversions and then reports what is available to install. If noupdates are available, conda reports 'All requested packages arealready installed.'
If a newer version of your package is available and you wish toupdate it, type y
to update:
Pinning a package specification in an environment preventspackages listed in the pinned
file from being updated.
In the environment's conda-meta
directory, add a filenamed pinned
that includes a list of the packages that youdo not want updated.
Install Anaconda Catalina Pictures
EXAMPLE: The file below forces NumPy to stay on the 1.7 series,which is any version that starts with 1.7. This also forces SciPy tostay at exactly version 0.14.2:
With this pinned
file, condaupdatenumpy
keeps NumPy at1.7.1, and condainstallscipy=0.15.0
causes an error.
Use the --no-pin
flag to override the update restriction ona package. In the terminal or an Anaconda Prompt, run:
Because the pinned
specs are included with each condainstall, subsequent condaupdate
commands without--no-pin
will revert NumPy back to the 1.7 series.
To automatically add default packages to each new environment that you create:
Open Anaconda Prompt or terminal and run:
condaconfig--addcreate_default_packagesPACKAGENAME1PACKAGENAME2
Now, you can create new environments and the default packages will be installed in all of them.
You can also edit the .condarc file with a list of packages to createby default.
You can override this option at the command prompt with the --no-default-packages
flag.
Use the terminal or an Anaconda Prompt for the following steps.
To remove a package such as SciPy in an environment such asmyenv:
To remove a package such as SciPy in the current environment:
To remove multiple packages at once, such as SciPy and cURL:
To confirm that a package has been removed:
Download the installer:
Miniconda installer for macOS.
Anaconda installer for macOS.
Verify your installer hashes.
Install:
Miniconda---In your terminal window, run:
Anaconda---Double-click the
.pkg
file.
Follow the prompts on the installer screens.
If you are unsure about any setting, accept the defaults. Youcan change them later.
To make the changes take effect, close and then re-open yourterminal window.
Test your installation. In your terminal window orAnaconda Prompt, run the command
condalist
. A list of installed packages appearsif it has been installed correctly.
Install Anaconda Catalina Boat
Installing in silent mode¶
Note
The following instructions are for Miniconda. For Anaconda,substitute Anaconda
for Miniconda
in all of the commands.
To run the silent installation ofMiniconda for macOS or Linux, specify the -b and -p arguments ofthe bash installer. The following arguments are supported:
-b---Batch mode with no PATH modifications to
~/.bashrc
.Assumes that you agree to the license agreement. Does not editthe.bashrc
or.bash_profile
files.-p---Installation prefix/path.
-f---Force installation even if prefix -p already exists.
EXAMPLE:
The installer prompts “Do you wish the installer to initialize Miniconda3 by running condainit
?” We recommend “yes”.
Note
Install Anaconda Catalina Patcher
If you enter “no”, then conda will not modify your shell scripts at all. In order to initialize after the installation process is done, first run source<pathtoconda>/bin/activate
and then run condainit
.
MacOS Catalina
If you are on macOS Catalina, the new default shell is zsh. You will instead need to run source<pathtoconda>/bin/activate
followed by condainitzsh
.
Updating Anaconda or Miniconda¶
Open a terminal window.
Navigate to the
anaconda
directory.Run
condaupdateconda
.
Uninstalling Anaconda or Miniconda¶
Open a terminal window.
Remove the entire Miniconda install directory with:
OPTIONAL: Edit
~/.bash_profile
to remove the Minicondadirectory from your PATH environment variable.Remove the following hidden file and folders that may havebeen created in the home directory:
.condarc
file.conda
directory.continuum
directory
By running: