# Why does prodigy not find python?

**URL:** <https://support.prodi.gy/t/why-does-prodigy-not-find-python/6098>\
**Category:** Uncategorized\
**Tags:** usage\
**Created:** [November 9, 2022, 12:41pm UTC](https://support.prodi.gy/t/why-does-prodigy-not-find-python/6098 "2022-11-09T12:41:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sofiejb](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@sofiejb](https://support.prodi.gy/u/sofiejb)\
**Post date:** [November 9, 2022, 12:41pm UTC](https://support.prodi.gy/t/why-does-prodigy-not-find-python/6098/1 "2022-11-09T12:41:02Z")

</div>

Hi, this might be a very basic question ( 🙈 ), but when I try to use a prodigy recipe, I get the following message:  
/home/suser/.local/bin/prodigy: 2: python: not found

I installed prodigy, spacy and python (python works perfectly in other elsewhere), so unsure what is causing the issue. Is it due to Prodigy being specified for a specific python version? I am using Python 3.10.6

Thanks in advance for all help!

---

<div class="post-metadata">

**Author:** ![koaning](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/koaning/32/230_2.png) [@koaning](https://support.prodi.gy/u/koaning)\
**Post date:** [November 9, 2022, 3:48pm UTC](https://support.prodi.gy/t/why-does-prodigy-not-find-python/6098/2 "2022-11-09T15:48:08Z")

</div>

How are you running Prodigy? My recommendation is via;

```python
python -m prodigy ...

```

It could be that you're experiencing a virtualenv mishap. While a bit dated, [this calmcode course](https://calmcode.io/virtualenv/intro.html) might help you get up to scratch in that domain if you're unfamiliar.

---

<div class="post-metadata">

**Author:** ![sofiejb](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@sofiejb](https://support.prodi.gy/u/sofiejb)\
**Post date:** [November 10, 2022, 7:32am UTC](https://support.prodi.gy/t/why-does-prodigy-not-find-python/6098/3 "2022-11-10T07:32:06Z")

</div>

Ah, yes this is a very basic mistake as i thoughy 🙈 adding python -m helped! Thanks 😃
