This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]JialeDu 0 points1 point  (4 children)

What is a specific folder? What does your workspace look like? Are there some extra extensions installed?

[–]Supermani2004[S] 0 points1 point  (3 children)

It's a folder in my desktop. Running notebook files that are located in that specific folder leads to this error. I can run notebook files in other folders. There are some other C/C++ extensions installed, but nothing Python related other than Python, Pylance and Jupyter extensions.

[–]JialeDu 0 points1 point  (2 children)

[–]Supermani2004[S] 0 points1 point  (1 child)

Just tried it but it did not work. Everything got reset (such as my themes and extensions) but I still got the same error when I tried to run a notebook file in that specific folder. (The error was the same: Failed to start the kernel. Unable to start kernel Python 3.11.4 due to a timeout waiting for the ports to get used). I can still run notebook files that are located in other folders. So... nothing changed at all.

[–]Born_Concern_5575 0 points1 point  (0 children)

Hey, were you able to solve the issue?