You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After pip install reflex ,run reflex init, an error occurs:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Scripts\reflex.exe_main.py", line 4, in
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\reflex\reflex.py", line 16, in
from reflex.state import reset_disk_state_manager
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\reflex\state.py", line 326, in
class BaseState(Base, ABC, extra=pydantic.Extra.allow):
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\main.py", line 286, in new
cls.try_update_forward_refs()
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\main.py", line 807, in try_update_forward_refs
update_model_forward_refs(cls, cls.fields.values(), cls.config.json_encoders, localns, (NameError,))
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\typing.py", line 554, in update_model_forward_refs
update_field_forward_refs(f, globalns=globalns, localns=localns)
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\typing.py", line 520, in update_field_forward_refs
field.type = evaluate_forwardref(field.type_, globalns, localns or None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\typing.py", line 66, in evaluate_forwardref
return cast(Any, type_)._evaluate(globalns, localns, set())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'
To Reproduce
Steps to reproduce the behavior:
In Win10 cmd console, run reflex init
Specifics (please complete the following information):
Python Version: 3.12
Reflex Version: 0.6.7
OS: Windows 10
The text was updated successfully, but these errors were encountered:
Describe the bug
After pip install reflex ,run reflex init, an error occurs:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Scripts\reflex.exe_main.py", line 4, in
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\reflex\reflex.py", line 16, in
from reflex.state import reset_disk_state_manager
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\reflex\state.py", line 326, in
class BaseState(Base, ABC, extra=pydantic.Extra.allow):
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\main.py", line 286, in new
cls.try_update_forward_refs()
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\main.py", line 807, in try_update_forward_refs
update_model_forward_refs(cls, cls.fields.values(), cls.config.json_encoders, localns, (NameError,))
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\typing.py", line 554, in update_model_forward_refs
update_field_forward_refs(f, globalns=globalns, localns=localns)
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\typing.py", line 520, in update_field_forward_refs
field.type = evaluate_forwardref(field.type_, globalns, localns or None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mypc\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\v1\typing.py", line 66, in evaluate_forwardref
return cast(Any, type_)._evaluate(globalns, localns, set())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'
To Reproduce
Steps to reproduce the behavior:
In Win10 cmd console, run reflex init
Specifics (please complete the following information):
The text was updated successfully, but these errors were encountered: