Skip to content
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

Error with installation #25

Open
Vendetta35-ship opened this issue Nov 11, 2024 · 1 comment
Open

Error with installation #25

Vendetta35-ship opened this issue Nov 11, 2024 · 1 comment

Comments

@Vendetta35-ship
Copy link

Arrived on the dashboard I get these, do you know where it could come from ? :

"TypeError: TypedDictMeta.new() got an unexpected keyword argument 'closed'
Traceback:
File "C:\Users\XXX\AppData\Local\Programs\Python\Python313\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python313\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\BEC\dashboard.py", line 10, in
import altair as alt
File "C:\Users\XXX\AppData\Local\Programs\Python\Python313\Lib\site-packages\altair_init
.py", line 650, in
from altair.vegalite import *
File "C:\Users\XXX\AppData\Local\Programs\Python\Python313\Lib\site-packages\altair\vegalite_init_.py", line 2, in
from .v5 import *
File "C:\Users\XXX\AppData\Local\Programs\Python\Python313\Lib\site-packages\altair\vegalite\v5_init_.py", line 4, in
from .api import *
File "C:\Users\XXX\AppData\Local\Programs\Python\Python313\Lib\site-packages\altair\vegalite\v5\api.py", line 618, in
class _ConditionClosed(TypedDict, closed=True, total=False): # type: ignore[call-arg]
...<6 lines>...
value: Any"

@jptsantossilva
Copy link
Owner

Hi, that seems to be related with altair version or python version.
Check if youre using the altair version 4.2.2 of the requirements.txt file. If so, try to downgrade to python 3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants