Install Anaconda3 under Windows and use tensorflow on Jupyter notebook

In the video teaching of Tensorflow, Mr. Ben's Tensorflow, he made an integration of a series of problems in the process of installing Anaconda, Tensorflow and using it on Jupyter notebook.

One: The .jupyter folder cannot be found after installing Anaconda


According to the video, I want to modify the file opening and saving path in the jupyter_notebook_config.py configuration file, but I cannot find .jupyter in the "C:/user/username/.jupyter/ (eg. C:\Users\xxx.jupyter) directory. Folder
Solution :

  • cmd locates the directorycd /d D:\Program\Anaconda\Scripts
  • Excuting an orderjupyter notebook --generate-config

Open jupyter_notebook_config.py and modify the path of line 179

write picture description here

Two: Install the Tensorflow module

If the installation fails to run directly in cmd pip install tensorflow, you can try to enter the anaconda prompt to install:
write picture description here

Enter jupyter test
write picture description here

Press shift+enter if no error is reported, it is successful


If it still fails, you can refer to: Install TensorFlow on Windows and use it on Jupyter notebooks

.jypyter folder reference: The .jupyter directory cannot be found after anaconda is installed

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324748848&siteId=291194637