# Installation in virtual environment

**URL:** <https://support.prodi.gy/t/installation-in-virtual-environment/4328>\
**Category:** Getting Started\
**Tags:** install, solved\
**Created:** [June 14, 2021, 1:52pm UTC](https://support.prodi.gy/t/installation-in-virtual-environment/4328 "2021-06-14T13:52:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SofieVL](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/sofievl/32/915_2.png) [@SofieVL](https://support.prodi.gy/u/SofieVL)\
**Post date:** [June 14, 2021, 5:04pm UTC](https://support.prodi.gy/t/installation-in-virtual-environment/4328/2 "2021-06-14T17:04:14Z")

</div>

Hi!

This probably happens because `pydantic.fields.Schema` was deprecated in version 1.8 of Pydantic. In your virtual environment, you could install `pydantic==1.7` first, then install Prodigy, and hopefully it should work.

This has been fixed in Prodigy v1.10.7 - the related thread is here for background information: [ImportError: cannot import name 'Schema' from 'pydantic'](https://support.prodi.gy/t/importerror-cannot-import-name-schema-from-pydantic/3948)

Let us know if you'd still run into issues though!

---

_[View the full topic](https://support.prodi.gy/t/installation-in-virtual-environment/4328)._
