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"