Tag Archives: conda

How to Use AI to Automate Conda Environment Creation

Motivation:

You want to use AI to automate Conda environment creation and install Jupyter Notebook for your experiments.

Suggestions:

  1. Prepare local_tools.txt with the path to the conda executable.
  2. Prepare azure_open_api_info.txt with any required secrets.
  3. Install Claude Code.
  4. Open claude and provide these instructions:
    • Create a conda environment named `nlp` using the latest LTS Python version, install Jupyter Notebook, and run it.
    • Install `azure-cognitiveservices-speech` and `openai` in `nlp` using `–ignore-installed` to keep the environment self-contained.
    • Create a `run.bat` file that activates the conda environment, sets the environment variables from `.meta/azure_open_api_info.txt`, and runs Jupyter.
    • Summarize what you have done in a Markdown file inside the `docs` folder.
    • Output all the prompts to `docs/prompts.txt`, with grammar and fluency corrections and numbering.