vocodedev/vocode-core

[Bug]: from pydantic import BaseModel, StringConstraints, ValidationError, field_validator, conint ImportError: cannot import name 'StringConstraints' from 'pydantic' (C:\Users\CYBER-LAPTOP\AppData\Roaming\Python\Python310\site-packages\pydantic\__init__.cp310-win_amd64.pyd)

Abdullah-000 opened this issue · 1 comments

Brief Description

pydantic version error. I install the pydantic 1.10.11, when i install latest its says root error

LLM

GPT-4

Transcription Services

Microsoft Azure

Synthesis Services

None

Telephony Services

Twilio

Conversation Type and Platform

real-time

Steps to Reproduce

None

Expected Behavior

Its Shoud run I am following :
https://docs.vocode.dev/open-source/telephony

Screenshots

No response

Hi @Abdullah-000

To address the import error with Pydantic, I recommend using Poetry for dependency management and Virtualenv for creating isolated Python environments. This setup can help prevent dependency conflicts and ensure that your project's dependencies are compatible. Poetry simplifies managing project dependencies, while Virtualenv isolates them, avoiding global installation conflicts. Adopting these tools could provide a more stable development environment and potentially resolve the import error you're experiencing.