run file in specific environment conda code example Example 1: conda list environments conda info --envs Example 2: conda activate virtual environment conda activate env-name