btrack icon indicating copy to clipboard operation
btrack copied to clipboard

Issues with Pydantic when installing btrack

Open AlishaWayra opened this issue 11 months ago • 1 comments

Describe the bug PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.

Your setup: Unfortunately I cannot provide btrack.SystemInformation() to report the details of my system since it does not recognize btrack.

Comments I am working on an apple MacBook Air with M2 chip and installed btrack as indicated in the installation instructions (installing environment, install btrack via pip, install cvxopt via conda-forge), but when I open Spyder and import btrack, I get the above mentioned error. I was trying to change the version of Pydantic, but it did not seem to solve the problem since I get the same errors. Any suggestions on solving this problem would be highly appreciated

AlishaWayra avatar Jul 18 '23 17:07 AlishaWayra