简体   繁体   中英

Can't install tensorflow in python 3.8

I've been trying to install tensorflow on windows using pip with pip install --upgrade tensorflow and with the url pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.2.0-cp38-cp38-win_amd64.whl

With the plain pip method I get a "Could not find a version that satisfies the requirement" and with the url I get the error "tensorflow_gpu-2.2.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform."

I've installed cuda and I am using python 3.8 64Bits with pip 19.0.3

edit: I've also have installed the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 thingy

it appears that you have posted the correct link for tensorflow, but when you sent the error code that you get while trying to install the wheel it is the wheel for python 3.7 hence the "cp37" when in the link it is "cp38". Verify that you are trying to install the correct file and let me know if there is anything else. Try this url: https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.2.0-cp38-cp38-win_amd64.whl

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