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

AttributeError: module 'astroid.nodes' has no attribute 'TryExcept' #3180

Open
irshad97feb opened this issue Jan 3, 2024 · 0 comments
Open
Labels
help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.

Comments

@irshad97feb
Copy link

irshad97feb commented Jan 3, 2024

Issue

Facing AttributeError: module 'astroid.nodes' has no attribute 'TryExcept' while running tox -e pylint

Environment

Provide at least:

  • OS:
    Distributor ID: Ubuntu
    Description: Ubuntu 20.04.6 LTS
    Release: 20.04
    Codename: focal
Output of pip list of the host Python, where tox is installed

Output of running tox

Output of tox -rvv

File "/tmp/msheikh_sysinvtox/pylint/lib/python3.9/site-packages/pylint/checkers/refactoring/init.py", line 16, in
from pylint.checkers.refactoring.refactoring_checker import RefactoringChecker
File "/tmp/msheikh_sysinvtox/pylint/lib/python3.9/site-packages/pylint/checkers/refactoring/refactoring_checker.py", line 36, in
nodes.TryExcept, nodes.TryFinally, nodes.While, nodes.For, nodes.If
AttributeError: module 'astroid.nodes' has no attribute 'TryExcept'

@gaborbernat gaborbernat added the help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Projects
None yet
Development

No branches or pull requests

2 participants