modulenotfounderror:导入tensorflow.compat.v1作为tf

发布于 2025-02-03 03:45:50 字数 345 浏览 3 评论 0 原文

import tensorflow.compat.v1 as tf

vscode中显示的错误 jupyter中的输出 尽管尝试了所有可能的选项,但我仍无法解决此错误。 我正在尝试学习机器学习,以创建一个简单的手语检测系统。在我的vscode中,显示上图。

import tensorflow.compat.v1 as tf

Error displayed in vscode
output in jupyter
Despite trying all the possible options, I am not able to fix this error.
I am trying to learn machine learning to create a simple sign language detection system. In my VSCode, the above image is displayed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

农村范ル 2025-02-10 03:45:50

您需要按照此 vs Code 。

请检查这些类似的 eskoes 对于您的参考

You need to follow the instructions mentioned in this link to install the tensorflow then open the VS code in the same virtual environment.

Please check these similar issues for your reference.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文