-
|
Hi After an upgrade of my IT on Python 3.12, I cannot use debugpy with VScode anymore:
Any feedback/fix on it? Thanks for your time. Paul ` During handling of the above exception, another exception occurred: Traceback (most recent call last): File "XXX/env-3.12/lib/python3.12/site-packages/debugpy/public_api.py", line 47, in wrapper |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
What version of debugpy do you have installed in your environment? |
Beta Was this translation helpful? Give feedback.
-
|
AFAICT, you have a dataclasses.py file in your site-packages folder that is messing things up. "XXX/env-3.12/lib/python3.12/site-packages/debugpy/adapter/../../dataclasses.py" That should collapse to Not sure why you have that file there. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Rich, I think you're right; I've neutralized the file "dataclasses.py" (by adding "_" at the end) and debugpy seems working as expected Thanks for your support and your analysis Paul |
Beta Was this translation helpful? Give feedback.
AFAICT, you have a dataclasses.py file in your site-packages folder that is messing things up.
"XXX/env-3.12/lib/python3.12/site-packages/debugpy/adapter/../../dataclasses.py"
That should collapse to
XXX/env-3.12/lib/python3.12/site-packages/dataclasses.py.Not sure why you have that file there.