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"
相关推荐
郝学胜-神的一滴1 小时前
Effective Python 条款 10 :海象运算符_=
开发语言·python·程序人生·开源
wuyk5551 小时前
Python零基础入门第十四章:异常处理(try-except)
开发语言·python
2601_962078191 小时前
Appium+Python+pytest自动化测试框架详解
自动化测试·python·appium·pytest·移动应用
卷无止境5 小时前
智能体开发环境ADE浅析,编程工具的下一次范式跃迁
后端·python
2601_962300818 小时前
机器学习贴士:使用Python编写MapReduce
hadoop·python·机器学习·mapreduce·数据处理
xyz_CDragon9 小时前
GitHub上4个爆款AI开源Skill:拍照后不用P图,用Codex一键生成高级海报(附效果图+使用教程)
人工智能·python·github·codex·skill
weixin199701080169 小时前
[特殊字符]《跨境二手ERP对接Back Market:标准化API + 7~10工作日技术合规审核实录》(附Python源码)
开发语言·python·pandas
持敬chijing10 小时前
Python-数据类型-列表
开发语言·python·青少年编程
2601_9623010110 小时前
Python环境搭建及PyCharm破解使用技巧
python·pycharm·环境搭建·避坑技巧·破解使用
2601_9620994612 小时前
Python中的find()函数:用法和示例
python·字符串·索引·子字符串·find函数