/*Font style and formatting for LibGuides*/
Skip to Main ContentConda is Anaconda's built-in package installer.
To use conda, go to the Environments tab in Anaconda Navigator and click the "play" button on an environment. Choose "Open Terminal" from the menu that pops up.
This will open Terminal on MacOS or Command Prompt on Windows. Typically, the syntax for installing a module using conda is "conda install module".
If you want to install xlsxwriter, a module that provides support for exporting files in Microsoft Excel format, you would type "conda install xlsxwriter" and then hitting "Enter" (or "Return" on a Mac) in your terminal.
After you run the "conda install" command, conda will take a few seconds (or sometimes longer) to determine the compatibility of the requested module with the other modules you already have installed. Sometimes it will determine that the module cannot be installed given the dependencies of other modules; if this happens, you might have to install the module in a new virtual environment with different modules and/or a different version of Python.
If it determines that it's OK to proceed, it will produce a list of modules that will be installed, upgraded, or downgraded during installation. If everything looks alright, type "y" and press "Enter".
Conda will download the necessary modules and packages. Once it confirms that everything has been installed successfully, you may close the terminal.
Pip is the default package installer for Python. Similar to "conda install" for Anaconda, Pip uses the syntax "pip install [modulename]".
Pip comes preloaded in Anaconda. In general, when using Anaconda, it's better to use conda for package installation, but there may be some modules or packages that conda cannot install. In these cases, pip can help you install them.