# Python version for PyDelphin v1.9.1

**URL:** <https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042>\
**Category:** PyDelphin Tools\
**Created:** [May 10, 2024, 10:31am UTC](https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042 "2024-05-10T10:31:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorena](https://delphinqa.ling.washington.edu/letter_avatar_proxy/v4/letter/l/ce73a5/32.png) [@lorena](https://delphinqa.ling.washington.edu/u/lorena)\
**Post date:** [May 10, 2024, 10:31am UTC](https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042/1 "2024-05-10T10:31:07Z")

</div>

I tried running `delphin process` in a virtual environment using PyDelphin v.1.9.1 and Python 3.8. The result you can see in the image:

 ![image](https://delphinqa.ling.washington.edu/uploads/default/original/1X/533ff4238717ca9e7a900effe46231df835aacec.png)

The command does work in a with Python 3.12:

 ![image](https://delphinqa.ling.washington.edu/uploads/default/original/1X/028a60e47ac2df6221e885a4297bdd194f80a121.png)

Reading [PyDelphin v1.9.0 released](https://delphinqa.ling.washington.edu/t/pydelphin-v1-9-0-released/1002), I understand that PyDelphin 1.9. does not support Python 3.7 anymore. However, it doesn’t say anything about Python 3.8 not being supported anymore. Is it not supported either?

---

<div class="post-metadata">

**Author:** ![goodmami](https://delphinqa.ling.washington.edu/letter_avatar_proxy/v4/letter/g/b5e925/32.png) [@goodmami](https://delphinqa.ling.washington.edu/u/goodmami)\
**Post date:** [May 10, 2024, 11:03pm UTC](https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042/2 "2024-05-10T23:03:32Z")

</div>

Hi @lorena, Python 3.8 is still supported. Based on the terminal output, it appears that you have installed the `delphin` package ([PyPI link](https://pypi.org/project/delphin)) ~~instead of~~ in addition to `pydelphin`. Try this (or just delete and rebuild your virtual environment):

```auto
$ pip uninstall delphin
$ pip install --force-reinstall pydelphin

```

A long time ago I requested and received ownership of the `delphin` package in PyPI from the original owner as they weren’t using it, so I could replace the current packages with something else to avoid this happening in the future. For instance, see what [sklearn](https://pypi.org/project/sklearn/) does (instead of [scikit-learn](https://pypi.org/project/scikit-learn/)).

---

<div class="post-metadata">

**Author:** ![olzama](https://delphinqa.ling.washington.edu/user_avatar/delphinqa.ling.washington.edu/olzama/32/6_2.png) [@olzama](https://delphinqa.ling.washington.edu/u/olzama)\
**Post date:** [May 11, 2024, 9:31am UTC](https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042/3 "2024-05-11T09:31:20Z")

</div>

But note the `pip show` output?

---

<div class="post-metadata">

**Author:** ![goodmami](https://delphinqa.ling.washington.edu/letter_avatar_proxy/v4/letter/g/b5e925/32.png) [@goodmami](https://delphinqa.ling.washington.edu/u/goodmami)\
**Post date:** [May 11, 2024, 7:54pm UTC](https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042/4 "2024-05-11T19:54:58Z")

</div>

Both were installed and `pip show pydelphin` shows you the details of PyDelphin. Both packages create a `delphin` command in the environment and the last one to be installed overwrites the first. For example:

```txt
(.venv) [goodmami@fw ~]$ pip install pydelphin
[...]
(.venv) [goodmami@fw ~]$ delphin -V
delphin 1.9.1
(.venv) [goodmami@fw ~]$ pip install delphin
[...]
(.venv) [goodmami@fw ~]$ delphin -h
usage: delphin [-h] [-o OUTPUT] [-e EXECUTE] [-d DATABASE]

options:
  -h, --help show this help message and exit
  -o OUTPUT, --output OUTPUT
                        s3 path to output query results to (required)
  -e EXECUTE, --execute EXECUTE
                        query to execute (required)
  -d DATABASE, --database DATABASE
                        database to run query against (default: "default")
(.venv) [goodmami@fw ~]$ pip show pydelphin
Name: PyDelphin
Version: 1.9.1
[...]
(.venv) [goodmami@fw ~]$ pip show delphin
Name: delphin
Version: 0.0.2
[...]

```

---

<div class="post-metadata">

**Author:** ![lorena](https://delphinqa.ling.washington.edu/letter_avatar_proxy/v4/letter/l/ce73a5/32.png) [@lorena](https://delphinqa.ling.washington.edu/u/lorena)\
**Post date:** [May 16, 2024, 9:57am UTC](https://delphinqa.ling.washington.edu/t/python-version-for-pydelphin-v1-9-1/1042/5 "2024-05-16T09:57:14Z")

</div>

For some reason, `pip uninstall delphin` doesn’t work (although the package is in the virtual environment’s files):

 ![image](https://delphinqa.ling.washington.edu/uploads/default/original/1X/66c78074b5ab7b8f003ce07713b39b41a585d1aa.png)

In the end, rebuilding the virtual environment is easier and fixes the problem. Thanks for your help! 🙂
