Windows resolution Anaconda under dual Python version installation TensorFlow

Source: Internet
Author: User

The first is the installation of the dual version anaconda:

The python2.7 version was previously installed, and the installation of TensorFlow only supported version 3.5. But his original version of the 2.7 did not want to abandon. So install the dual version of the;

Download version 2.7 and version 3.5 on Anaconda's official website;

Install one of them first, I want to install 2.7. All the way next.

The point is that the process for installing version 3.5 is as follows:

1. The version I downloaded is anaconda3-4.3.1-windows-x86_64. : https://repo.continuum.io/archive/

2. The installation process is similar to anaconda2, however, the installation path is set in Anaconda2 Envs folder and named Py3.

The difference between the installation process is:

By canceling the check in front of both options, it means not adding anaconda3 to the path or setting it as the default Python version.

3. The focus has come,

Into CMD, we can see that Python--version shows Python 2.7. We need to activate with version 3.5, command: Activate Py3

Close 3.5:deactivate Py3

4. Install TensorFlow, direct pip install TensorFlow:

Windows resolution Anaconda under dual Python version installation TensorFlow

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.