1. 程式人生 > >解決Jupyter notebook[import tensorflow as tf]報錯

解決Jupyter notebook[import tensorflow as tf]報錯

問題:ImportError: No module named tensorflow

解決辦法:
在終端輸入以下命令.重新安裝一遍(暴力解決)

source activate tensorflow #啟用tensorflow環境
conda install ipython
conda install jupyter
jupyter notebook #重新開啟jupyter notebook