# Installation error - pydantic

**URL:** <https://support.prodi.gy/t/installation-error-pydantic/7598>\
**Category:** Uncategorized\
**Created:** [August 14, 2025, 5:22pm UTC](https://support.prodi.gy/t/installation-error-pydantic/7598 "2025-08-14T17:22:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hazelkang](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/hazelkang/32/4627_2.png) [@hazelkang](https://support.prodi.gy/u/hazelkang)\
**Post date:** [August 14, 2025, 5:22pm UTC](https://support.prodi.gy/t/installation-error-pydantic/7598/1 "2025-08-14T17:22:59Z")

</div>

I’ve downloaded it with my personal license and I keep running into this error of pydantic:

Traceback (most recent call last):  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run\_module\_as\_main  
return run\_code(code, main\_globals, None,  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run\_code  
exec(code, run\_globals)  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\site-packages\prodigy\_main_.py", line 50, in  
main()  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\site-packages\prodigy\__main_.py", line 24, in main  
from prodigy.app import server  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\site-packages\prodigy\app.py", line 22, in  
from .auth import (  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\site-packages\prodigy\auth.py", line 14, in  
from .types import JWTPayload  
File "C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\site-packages\prodigy\types.py", line 22, in  
from pydantic import (  
ImportError: cannot import name 'model\_validator' from 'pydantic' (C:\Users\kangh\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic\__init_.cp310-win\_amd64.pyd)

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [August 19, 2025, 7:29am UTC](https://support.prodi.gy/t/installation-error-pydantic/7598/2 "2025-08-19T07:29:54Z")

</div>

Hi! It looks like you ended up with mismatched versions of `pydantic`, maybe because something else was already installed in your Python environment? To make sure you get the right version, try re-installing Pydantic with the version range specified by Prodigy:

```bash
pip install "pydantic>=1.10.8,<3.0"

```

(Btw, in general, it can be helpful to set up separate [virtual environments](https://docs.python.org/3/tutorial/venv.html) for different projects in Python so you don't end up with version conflicts caused by different packages and can easily start over. So as an alternative option, you can create a fresh virtual environment and install Prodigy into it from scratch!)
