Jupyter Notebook运行tensorflow时内核崩溃的解决过程

首先检查终端报错代码:开头是404 GET /nbextensions/

在base下输入

conda install -c conda-forge jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter-notebook

再次运行即可。

附上在base环境下配置tensorflow的过程:

chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate
conda install -c apple tensorflow-deps
python -m pip install tensorflow-macos

以及缺啥安啥:

conda install scikit-learn
conda install pandas 
conda install matplotlib
conda install seaborn
.
.
.

你可能感兴趣的:(jupyter,notebook,tensorflow,tensorflow,jupyter,python)