anaconda – Best way to activate my conda environment for a python script on a windows PC

I’ve made a python script for multiple users and I want to be able to run it by just double clicking the script.

I also have made a conda env for this script and it seems I am unable to activate the environment within my python script (?).

I thought I could write a script which will activate my conda env and then run my python script in command prompt but I’m completely lost and can’t find out how to even activate my conda env in command prompt.

Am I heading in the right direction with this – is the best way to activate a conda env and run a python script within one executable script via command prompt?

Sorry if this is a really obvious and/or stupid question, I am very new to all of this!

Read more here: Source link