Problems with Conda Megathread

The following are a list of common problems users have using programs that run into using Conda.

If you do not see your problem below or a solution does not work, please create a new post on this topic.


Conda does not work from within script

Common Errors Associated

usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...

conda: error: argument COMMAND: invalid choice: 'activate' (choose from
'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list',
'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search',
'update', 'upgrade', 'doctor', 'repoquery', 'env')

Common Resolutions

  • Make sure initial line of sbatch script is #!/bin/bash -l. The -l is important to set up your environment correctly for Conda.