-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError(f'mutable default {type(f.default)} for field #62
Comments
I have the same error because my default python is version 3.11.4 (and the raised error based on documentation of Dataclasses is related with new controls included on 3.11) To avoid this, instead to create venv as proposed, I've created it with conda: conda create --name logai python=3.9 After environment creation you must activate it using: conda activate logai Into it, the installed python version (on my case at least) is 3.9.18 Go to your downloaded logai directory and as requested from there execute pip: pip install logai (and [all] |
I have this same error also, any way to resolve this withoug conda? |
I fixed this! In data_model.py, the LogRecordObject properties should look like this: |
@markman623 Many thanks for advising. |
Did you do that for all properties? Should look like this: What error exactly are you getting? |
@markman623 Sorry, Im a python noob, It worked after tried this. |
Great! Glad I could help :-) I'm also a noob so was excited when I actually fixed something :-) |
when running
python ./gui/application.py
in the directory~/logai
, an error occurred.The text was updated successfully, but these errors were encountered: