Windows installation TensorFlow 0.12 most convenient solution

Source: Internet
Author: User

Since the screenshot is inconvenient to upload, it has been synchronized to GitHub

Specific reference: Https://github.com/matiji66/tensorflow-install


TensorFlow Installation Environment:

Win7 64

Conda--version Anaconda 64 4.3.13

1. Create a new Python 3.5 version

Conda create-n TensorFlow python=3.5

2. Activate TensorFlow

3. PIP install TensorFlow default is not installed the latest version of the

Both distributions include PIP. To install the cpu-only version of TensorFlow, enter the following command at a command prompt:

c:\> pip Install--upgrade https://storage.googleapis.com/tensorflow/windows/cpu/ Tensorflow-0.12.0rc1-cp35-cp35m-win_amd64.whl

To install the GPU version of TensorFlow, enter the following command at a command prompt:

c:\> pip Install--upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_ Gpu-0.12.0rc1-cp35-cp35m-win_amd64.whl

4. How do I get to the Python command line, using TF?

4.1 Activate TensorFlow

4.2 python

5 How to use it in Pycharm:

5.1 Opening the settings interface in Pycharm CTRL +alt +s shortcut keys

Here is the interpreter with Anaconda-python 2.7 installed:

 

The following is a manual switch to the interpreter of the TensorFlow python3.5 environment that you have established:

Once selected, you can use the 3.5 environment of Python and the TensorFlow development test.

It can be seen that the Python version is easy to switch between python shells and other Python ides.

This is more convenient than using Docker installation, the key is to engage in a half-day, Docker-tool installed, but the dock tensorflow mirror download.

The additional explanation is that Python and Python package have a faster use of domestic mirrors in the installation process.


Specific reference: Https://github.com/matiji66/tensorflow-install

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.