I'm getting this error while trying to run my .ipynb files using VSCode: 'Failed to start the Kernel. Unable to start Kernel 'Python 3.11.4' due to a timeout waiting for the ports to get used.'
Python 3.11.4, Python, Pylance and Jupyter extensions and required packages like ipykernel are installed and up to date. It was working a few hours ago and I don't know what's wrong right now. I can still run my older notebook files but not the new ones.
In the logs, I'm seeing this error: 'Error: Unable to start Kernel 'Python 3.11.4' due to a timeout waiting for the ports to get used.'
Tried reinstalling VSCode, extensions, Python interpreter and packages like ipykernel but it did not fix the issue. Tried running with and without VPN but it also did not help.
What can I do?
Edit: I figured out that this error occures only in a specific folder. It even works in the subfolders of it. I still have no idea what's wrong.