gpt4 book ai didi

Pythontensorflow错误,sys没有属性getdlflags

转载 作者:太空宇宙 更新时间:2023-11-03 16:49:14 25 4
gpt4 key购买 nike

我刚刚尝试为 python 安装tensorflow,当我进入控制台查看 init.py 是否正常工作时,它返回了此错误。我手动安装了它,没有使用 pip 或任何其他包管理器。

>>> import tensorflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\*username\AppData\Local\Programs\Python\Python35-32\lib\tensorflow\__init__.py", line 43, in <module>
_default_dlopen_flags = sys.getdlopenflags()
AttributeError: module 'sys' has no attribute 'getdlopenflags'

最佳答案

Windows 尚不支持 TensorFlow。请关注this跟踪 TensorFlow Windows 支持的 github 问题。

关于Pythontensorflow错误,sys没有属性getdlflags,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36026865/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com