TensorFlow problems encountered during installation

Source: Internet
Author: User

Issues encountered in installing tensor flow after the PIP package and Python have been installed:

First, the default is the foreign mirror source, so limited, can cause errors or download speed is very slow. So look for a domestic Python image source (address: http://blog.csdn.net/yywan1314520/article/details/51045660).

Second, the following error occurred in the installation because it was not added to a trusted address.

Could not find a version this satisfies the requirement TensorFlow (from versions:)

No matching distribution found for tensor flow


Here is my step to install the TensorFlow command:

appledemacbook-pro:~ apple$ pip install-i http://pypi.mirrors.ustc.edu.cn/simple/--trusted-host pypi.mirrors.ustc.edu.cn TensorFlow
The introduction of TF package display in the test is correct:

>>> Import TensorFlow as TF

>>> TF. Session ()

2017-11-06 19:55:07.244531:i tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that This tensorflow binary is not compiled to use:sse4.1 SSE4.2 AVX AVX2 FMA

<tensorflow.python.client.session.session Object at 0x10d5a9110>

>>>

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.