quantumjot / btrack

Bayesian multi-object tracking
https://btrack.readthedocs.io
MIT License
309 stars 50 forks source link

Issues with Pydantic when installing btrack #344

Open AlishaWayra opened 12 months ago

AlishaWayra commented 12 months ago

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

quantumjot commented 12 months ago

Hi @AlishaWayra - thanks for the bug report! I just released btrack v0.6.3 - does that solve the issue for you? A