1. New environment python3.5 in Anaconda, I am using the new environment in Anaconda-navigator, Python version selection 3.5
2. Activate the newly added environment, pay attention to win, no source, direct use
Activate New_env_name
3. Install TensorFlow, reference https://github.com/tensorflow/tensorflow/blob/r1.0/tensorflow/g3doc/get_started/os_setup.md# Pip-installation-on-windows
Install First: Visual C + + Redistributable
And then:
Install --upgrade https://Storage.googleapis.com/tensorflow/windows/gpu/tensorflow_ GPU-1.0.1-CP35-CP35M-WIN_AMD64.WHL
4. Install OPENCV,OPENCV default support is python2.7, so you need to use a third-party encapsulated http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
Download OPENCV_PYTHON?3.2.0+CONTRIB?CP35?CP35M?WIN_AMD64.WHL
Then pip install PATH/TO/OPENCV_PYTHON?3.2.0+CONTRIB?CP35?CP35M?WIN_AMD64.WHL
WIN10 Configuring the TensorFlow environment