简体   繁体   中英

ModuleNotFoundError: No module named '_pywrap_tensorflow' erro windows 10

I am trying to install Keras with Tensorflow. I have followed all steps from

here

I have installed CUDA 9. cuDNN 7.i had problems intalling it with command provided on the site so i used

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl

which i have found here on SO. Installation went fine, however when i tried test script ( provided on the tensorflow site ) i recieved error:

No module named '_pywrap_tensorflow

I have tried to check SO for answer but found nothing usefull, how can fix this?

thanks for help.

Regarding your issues you are installing cpu only and old MAC version of tensorflow which shouldn't work on windows. You could try using the following command

python3 -m pip install https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0-cp35-cp35m-win_amd64.whl

But I suggest you use Anaconda for the windows to install tensorflow and keras it has much less errors on windows, you can find a guide for it here https://github.com/antoniosehk/keras-tensorflow-windows-installation .

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