Windows 11 prompt Python commands not responding - Stack Overflow

Using Windows 11Everything was working fine a couple days ago. Today, when I went to start a Jupyter L

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...

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744955527a4603170.html

相关推荐

  • Windows 11 prompt Python commands not responding - Stack Overflow

    Using Windows 11Everything was working fine a couple days ago. Today, when I went to start a Jupyter L

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信