windows10如何安裝cpu版本tensorflow


1.獲取anaconda

https://repo.continuum.io/archive/Anaconda3-2018.12-Windows-x86_64.exe (這個版本內置python3.7)

2.安裝anaconda

3.啟動Anaconda Prompt

4.安裝python3.5

conda create --name tensorflow python=3.5  (--name tensorflow:指定環境名為tensorflow)

5.激活名為tensorflow的環境

conda activate tensorflow

6.安裝tensorflow

pip install --upgrade tensorflow

7.測試

(tensorflow) C:\Users\jello>python
Python 3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf  (沒有報錯,說明tensorflow已經安裝成功)
>>>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM