简体   繁体   English

我安装了 TensorFlow 发现没有找到模块

[英]I installed TensorFlow and found no modules found

I downloaded it by pip install tensorflow in cmd我通过 pip 下载它,在 cmd 中安装 tensorflow

The installation is fine and I have tensorflow when I pip list and look at the list.安装很好,当我列出 pip 并查看列表时,我有 tensorflow。

in Python,在 Python 中,

import tensorflow

but can't find the module.但找不到模块。

I can't install it with pip3.我不能用 pip3 安装它。

What should I do?我应该怎么办?

I think you have multiple python versions installed.You can use cmd ' where python ' on windows to find which python you are running and also verify where you have install tenserflow module using pip. I think you have multiple python versions installed.You can use cmd ' where python ' on windows to find which python you are running and also verify where you have install tenserflow module using pip.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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