Remember once installed CPU version of TensorFlow (numpy error, ddl error) to solve

I refer to the Internet to install TensorFlow tutorial, mostly installed successfully, but an error at import time, some ddl, some problems numpy version does not match, step on pit several times, finally solved

Installation process

1. Download TensorFlow to local
https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.3.0-cp36-cp36m-win_amd64.whl
2. activate your anaconda environment
can refer to what I wrote https: / /www.cnblogs.com/mengxiaoleng/p/11745897.html, the basic operation of which is detailed

activate your_env_name

3. Switch to the download directory

cd 下载好的文件目录

4. Install

pip install tensorflow-1.3.0-cp36-cp36m-win_amd64.whl

5. If the problem does not appear numpy version

pip uninstall numpy
pip install numpy==1.16.0

6. successful installation

Guess you like

Origin www.cnblogs.com/mengxiaoleng/p/12296634.html