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"
相关推荐
程序员龙叔6 小时前
编写高质量 Skill 系列 -- 如何设计需求分析与用例生成的 SKILL
自动化测试·软件测试·python·软件测试工程师·接口测试·性能测试·skill·ai测试
用户8356290780519 小时前
使用 Python 操作 Word 内容控件
后端·python
摇滚侠10 小时前
IDEA 创建 Java 项目 手动整合 SSM 框架
java·ide·intellij-idea
码云骑士11 小时前
32-慢查询排查全流程(下)-索引优化实战与最左前缀原则
python
闵孚龙11 小时前
《PyTorch 深度修炼》Dataset 和 DataLoader:数据如何喂给模型
人工智能·pytorch·python
goldenrolan11 小时前
A公司物料替代测试系统 v1.7:从需求到 exe/apk 的 AI 辅助全链路实践
android·自动化测试·软件测试·python·ai
菜板春11 小时前
jupyter入门-手册-特征探索
python·jupyter
Metaphor69212 小时前
使用 Python 将 PDF 转换为 HTML
python·pdf·html
极光代码工作室12 小时前
基于数据仓库的电商数据分析平台
大数据·hadoop·python·spark·数据可视化