差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
python:代码调试:jupyter:jupyter-基本使用 [2026/01/06 06:19] – 创建 ctbotspython:代码调试:jupyter:jupyter-基本使用 [2026/02/02 11:35] (当前版本) ctbots
行 1: 行 1:
 +====== jupyter-基本使用 ======
 +
 +===== jupyter的基本参数设置 =====
 +
 +
 jupyter绑定在0.0.0.0 端口  ,增加参数 --ip=0.0.0.0 jupyter绑定在0.0.0.0 端口  ,增加参数 --ip=0.0.0.0
  
行 5: 行 10:
  jupyter server list  jupyter server list
  
-会列出当前的token+会列出当前的token; 
 + 
 +===== pycharm中jupyter发生异常,如何重置 ===== 
 + 
 +<code shell  fix.sh> 
 +pkill -f jupyter 
 +rm ~/.jupyter/jupyter_server_config.json 
 +rm -rf ~/.local/share/jupyter/runtime   
 +</code> 
 + 
 +然后jupyter就被重置了 
 + 
 + 
 +===== vscode 或者trae安装困难 ===== 
 +直接手动安装解决 
 +pip install ipykernel jupyter nbconvert accelerate 
 + 
 +===== debug的时候跳转到源码 ===== 
 +找到 setting设置 
 +<code json> 
 +"jupyter.debugJustMyCode": false 
 +</code>