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"
相关推荐
min(a,b)11 分钟前
学习第 6 天:类型注解、装饰器与高级特性
python·学习
码云骑士34 分钟前
80-指令微调Instruction-Tuning-指令数据构造-多任务训练-过拟合检测
python
爱昏羔1 小时前
上篇:从PDF到向量库 — 物流行业RAG系统的知识库构建全解析
python·langchain·pdf·agent·rag
麻雀飞吧1 小时前
最新量化实现难点,规则和流程要先有形状
人工智能·python
用户0332126663671 小时前
使用 Python 在 Word 文档中添加或删除文本框
python
LadenKiller2 小时前
近期AI量化辅助,工具重点要跟学习阶段变化
人工智能·python
Y3815326622 小时前
serpbase + Pandas + Jupyter 数据分析实战
jupyter·数据分析·pandas
phltxy3 小时前
LangChain_Agent中间件实战
人工智能·python·深度学习·语言模型·中间件·langchain
axinawang3 小时前
第14课:查找、统计、分割字符串
python
倒流时光三十年3 小时前
第一阶段 02 · Mapping 与数据类型(text vs keyword 是重点)
后端·python·django