简体   繁体   中英

Unable to install Tensorflow using pip

I am trying to install Tensorflow but it gives the following error. I have python 3.5.4 on my system and using windows 10 as my operating system 在此处输入图片说明

What python do you have and is Python in your path?

try

pip3 install --upgrade tensorflow

or also

python -m pip3 install --upgrade tensorflow

Worked for me on a PC with Python 3.

Actually Python 3.5.4 is based on 32 bit architecture. But Tensorflow needs a 64 bit based architecture. So replacing the version 3.5.4 with 3.5.3 will work as the version 3.5.3 is a 64-bit based architecture. And the Tensorflow will install with the normal command in pip.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM