The CLI program conda is both a package manager and an environment manager. Data scientists often use multiple versions of many packages and use multiple environments to separate these different versions. Your package search within Navigator will now also include packages available via conda-forge.įor more documentation on channels, see Managing channels in the Tutorials section.In order to run, many scientific packages depend on specific versions of other packages. In this example, we will add a channel connection to conda-forge in Navigator’s channel manager.Įnter “conda-forge” into the textbox that appears. There are many more package channels available, hosted on, in Anaconda Cloud, or in an on-premises server, if your organization hosts their own packages via Anaconda Server. This contains the package repositories main, r, and msys2 (Windows only), which are hosted at /pkgs/. Managing channels #īy default, Navigator searches in and installs packages from Anaconda’s free public repositories, also known as defaults. The newly-installed beautifulsoup4 package is now displayed in the list of installed programs in the current environment.įor more documentation on packages, see Managing packages in the Tutorials section. Open the package filter dropdown and select Installed. Select the checkbox next to beautifulsoup4 in the package list.Ī dialog appears that lists all packages that will be installed. Type “beautifulsoup4” into the Search packages box. Open the package filter dropdown and select Not installed to view a list of packages that are available to install from the channels you are connected to. On the Environments page, select myenvironment from the environment list to activate it. In this example, we will install a package called beautifulsoup4 into myenvironment. View which packages are in each environment Select 3.12.0 from the dropdown that appears.Ī dialog listing all the packages that will be modified appears. Select the Python package checkbox and hover over Mark for specific version installation. Select Installed from the package filter dropdown. On the Environments page, select myenvironment (which we created in the Managing environments section above) from the environment list to activate it. In this example, we will change the Python version of myenvironment to Python 3.12.0: In the Environment name field, type the descriptive name “python39”.Ĭhanging the Python version in an existing environment # In this example, we will create a new environment named python39 that contains Python 3.9.18: To use a different version of Python in a given environment:Ĭhange the Python package version in an existing environmentĬhanging the Python version when creating an environment # When you create a new environment, Navigator installs Python 3.11 by default. The active environment is the one with the arrow next to its name.įor more documentation on environments, see Managing environments in the Tutorials section. Now you have two environments: the default environment base (root) and myenvironment. Navigator creates the new environment and activates it. In the Environment name field, type a descriptive name for your environment.Ĭlick Create. In this example, we will create a new environment named myenvironment: Environments are isolated from one another and enable you to quickly switch between projects with drastically different needs. Conda environments are directories within your file system that contain a specific collection of packages and package dependencies. Navigator uses the conda package and environment manager to create conda environments. The dropdown contains filters for all applications, applications that are installed on your computer, applications that are not installed, and applications that have an update available. Filter the application tiles with the applications dropdown menu. Managing application tiles #īy default, all application tiles available to launch or install within Navigator are displayed on the Home page. Anaconda recommends keeping Navigator updated to the latest version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |