# Python 2 conda env

Run the following to create a conda environment with Python 2 to run older scripts:

```
conda create -n python2 python=2
conda activate python2
pip install git+https://github.com/SeedlingsBabylab/pyclan.git
```

You can then run `python <script_name> <arguments>`. In a new terminal, you will have to activate the environment again:

```
conda activate python2
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.bergelsonlab.com/programming-info/quick-programming-computing-how-tos/python-2-conda-env.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
