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

cannot import name 'field' from 'attr' #623

Open
sobolevn opened this issue Jan 24, 2023 · 0 comments
Open

cannot import name 'field' from 'attr' #623

sobolevn opened this issue Jan 24, 2023 · 0 comments

Comments

@sobolevn
Copy link
Member

+ dotenv-linter config/.env config/.env.template
Traceback (most recent call last):
  File "/usr/local/bin/dotenv-linter", line 5, in <module>
    from dotenv_linter.cli import cli
  File "/usr/local/lib/python3.9/site-packages/dotenv_linter/cli.py", line 11, in <module>
    from dotenv_linter.checker import DotenvFileChecker
  File "/usr/local/lib/python3.9/site-packages/dotenv_linter/checker.py", line 8, in <module>
    from dotenv_linter.grammar.fst import Module
  File "/usr/local/lib/python3.9/site-packages/dotenv_linter/grammar/fst.py", line 22, in <module>
    from attr import dataclass, field
ImportError: cannot import name 'field' from 'attr' (/usr/local/lib/python3.9/site-packages/attr/__init__.py)
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

1 participant