ImportError: cannot import name 'SHAPE_DICT' from 'pydantic.fields' when starting #334
korbat-kadabra
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I cloned the git repository and made a new virtual environment but it won't start.
What versions of the different libraries are you guys using to get this to compile and run?
Traceback (most recent call last):
File "/Users//PycharmProjects/unifi-cam-proxy/unifi/main.py", line 8, in
from pyunifiprotect import ProtectApiClient
File "/Users//PycharmProjects/unifi-cam-proxy/venv/lib/python3.8/site-packages/pyunifiprotect/init.py", line 2, in
from pyunifiprotect.api import ProtectApiClient
File "/Users//PycharmProjects/unifi-cam-proxy/venv/lib/python3.8/site-packages/pyunifiprotect/api.py", line 21, in
from pyunifiprotect.data import (
File "/Users//PycharmProjects/unifi-cam-proxy/venv/lib/python3.8/site-packages/pyunifiprotect/data/init.py", line 1, in
from pyunifiprotect.data.base import (
File "/Users//PycharmProjects/unifi-cam-proxy/venv/lib/python3.8/site-packages/pyunifiprotect/data/base.py", line 24, in
from pydantic.fields import SHAPE_DICT, SHAPE_LIST, PrivateAttr
ImportError: cannot import name 'SHAPE_DICT' from 'pydantic.fields' (/Users//PycharmProjects/unifi-cam-proxy/venv/lib/python3.8/site-packages/pydantic/fields.py)
Beta Was this translation helpful? Give feedback.
All reactions