admin管理员组

文章数量:1405859

Using Windows 11

Everything was working fine a couple days ago. Today, when I went to start a Jupyter Lab session, nothing happened. After typing 'jupyter lab' in the command prompt, the cursor went to the line below, keep blinking, and nothing else... the same happened when I tried to use pip (e.g., 'python -m pip install --upgrade pip'), or jupyter notebook.

I tried restarting the computer, and executed the CMD as administrator... same thing!

Python, starting from the prompt, is working fine!

Can't say if there was a Windows actualization since last time I used jupyter (last week).

Using Windows 11

Everything was working fine a couple days ago. Today, when I went to start a Jupyter Lab session, nothing happened. After typing 'jupyter lab' in the command prompt, the cursor went to the line below, keep blinking, and nothing else... the same happened when I tried to use pip (e.g., 'python -m pip install --upgrade pip'), or jupyter notebook.

I tried restarting the computer, and executed the CMD as administrator... same thing!

Python, starting from the prompt, is working fine!

Can't say if there was a Windows actualization since last time I used jupyter (last week).

Share Improve this question edited Mar 7 at 16:34 JosefZ 30.3k6 gold badges51 silver badges91 bronze badges asked Mar 6 at 18:57 Guto SchettiniGuto Schettini 2993 silver badges12 bronze badges 2
  • 1 perhaps if you try jupyter lab --debug you might get some more info to share with us. – JonSG Commented Mar 6 at 19:22
  • 1 I believe the problem was not with jupyter, since the same thing happened with pip. I completely uninstalled, reboot, and reinstalled Python, and things started working again! – Guto Schettini Commented Mar 8 at 19:31
Add a comment  | 

1 Answer 1

Reset to default 0

I didn´t find the source of the problem, even after many (many!) attempts with the help of chatgpt, which wasn´t a great help, by the way!

The 'solution' was to uninstall Python, restart the computer (just in case!), and reinstall everything (I don´t use Anaconda!). It took me about 10 minutes... compared with the couple hours looking for a solution. However, it is puzzling what happened, and a bit worrying.

My guess it was a Windows related thing...

本文标签: Windows 11 prompt Python commands not respondingStack Overflow