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

keyword argument 'kw_only' #295

Open
yuchen230 opened this issue Sep 19, 2024 · 1 comment
Open

keyword argument 'kw_only' #295

yuchen230 opened this issue Sep 19, 2024 · 1 comment

Comments

@yuchen230
Copy link

An error occurs when executing this line of code: abiopen.py tbase1_1.abo --expose --seaborn

Traceback (most recent call last):
File "/home/pc/.local/bin/abiopen.py", line 21, in
from abipy import abilab
File "/home/pc/.local/lib/python3.9/site-packages/abipy/abilab.py", line 50, in
from abipy.electrons.gwr import GwrFile
File "/home/pc/.local/lib/python3.9/site-packages/abipy/electrons/gwr.py", line 42, in
@dataclasses.dataclass(kw_only=True)
TypeError: dataclass() got an unexpected keyword argument 'kw_only'

@gmatteo
Copy link
Member

gmatteo commented Sep 20, 2024

We’ve dropped support for Python 3.9; you need at least Python 3.10

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