

- #Conda install package without removing others software
- #Conda install package without removing others download

bashrc file that stop certain things from working on IU's research supercomputers in particular, it may break the conda activate command itself.

UITS Research Technologies recommends not issuing the conda init command, because when it runs, it adds commands to your. To avoid having to issue the conda init command, use the source activate command instead. If you have installed your own local version of Anaconda or miniconda, issuing the conda activate command may prompt you to issue the conda init command. Upon activation, the environment name (for example, env_name) will be prepended to the command prompt for ~]$ Activate your conda environment on the command line, enter (replace env_name with the name and non-default path, if applicable, of the environment you created):.Use the -p option to specify the file path for example (replace username with your IU username):Ĭonda create -y -p /N/scratch/username/env_name pkg1 pkg2 pg3 Create the environment in another directory: If you are using multiple conda environments, consider installing them in your Slate-Scratch space.Create the environment in your home directory: The following saves the conda environment in your home directory space for example, on Carbonate, it will be saved to ~/.conda/envs.Ĭonda create -y -n env_name pkg1 pkg2 pg3.Replace env_name with any name you want for the environment, and replace pkg1 pkg2 pg3 with the name(s) of the package(s) you want to install. Create a conda environment using one of the following commands.

#Conda install package without removing others software
Within this environment, you can install and delete as many conda packages as you like without making any changes to the system-wide Anaconda module.Ĭonda will attempt to resolve any conflicting dependencies between software packages and install all dependencies in the environment. Create a conda environment and install packagesįollow the steps below to create a conda environment. Package managers are especially helpful in high-performance computer settings, because they allow users to install packages and their dependencies locally with just one command.įollowing are instructions for creating and activating a conda environment, and installing packages in your home directory space on any of the research supercomputers at Indiana University. Unlike pip, conda is also an environment manager similar to virtualenv.
