jupyter本地配置

1 jupyter启动

在相关文件夹,启动命令行,在命令行执行

bash 复制代码
jupyter lab

即可

将ipynb文件转换为python文件
bash 复制代码
jupyter nbconvert --to script your_notebook.ipynb

会在同一个文件夹下产生同名的your_notebook.py文件

错误

(1)错误:# jupyter notebook: "The kernel appears to have died. It will restart automatically."

安装版本的问题

bash 复制代码
- **pip install -U numpy**(好一部分朋友表示这个有用)
- **conda install nomkl**(少部分朋友表示这个有用)
- **conda update anaconda/ mkl**(一部分朋友表示这个有用)

https://blog.nowcoder.net/n/37afb8eba261472593e5b93d42e18a95

(2) # A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support

bash 复制代码
pip install "numpy<2"
相关推荐
花酒锄作田8 小时前
Postgres - Listen/Notify构建轻量级发布订阅系统
python·postgresql
Thomas.Sir8 小时前
第二章:LlamaIndex 的基本概念
人工智能·python·ai·llama·llamaindex
m0_694845579 小时前
Dify部署教程:从AI原型到生产系统的一站式方案
服务器·人工智能·python·数据分析·开源
李昊哲小课10 小时前
Python办公自动化教程 - 第7章 综合实战案例 - 企业销售管理系统
开发语言·python·数据分析·excel·数据可视化·openpyxl
不知名的老吴10 小时前
返回None还是空集合?防御式编程的关键细节
开发语言·python
【ql君】qlexcel10 小时前
Visual Studio Code的使用,VS code常用扩展
ide·vscode·编辑器·visual studio·扩展
李昊哲小课11 小时前
Python办公自动化教程 - 第5章 图表创建 - 让数据可视化
python·信息可视化·数据分析·数据可视化·openpyxl
chushiyunen11 小时前
python pygame实现贪食蛇
开发语言·python·pygame
Dream of maid11 小时前
Python-基础2(流程控制)
python
Lenyiin12 小时前
《Python 修炼全景指南:一》从环境搭建到第一个程序
开发语言·python