运行失败
gurecn opened this issue · 3 comments
gurecn commented
运行时失败。
环境:Windows 11 64位系统, tensorflow:2.3.0,VS:2022,Python 3.8.15,cuda:V10.1.243,cudnn:7.6.0。
(TF2.3) PS C:\develop\athena> python setup.py bdist_wheel sdist
2022-12-16 18:22:22.624356: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
Traceback (most recent call last):
File "setup.py", line 26, in <module>
TF_LIB_INC, TF_SO_LIB = tf.sysconfig.get_link_flags()
ValueError: not enough values to unpack (expected 2, got 0)
(TF2.3) PS C:\develop\athena>
看错误是在get_link_flags
出了问题。修改代码后仍然报错。输出数据发现get_link_flags
返回结果为:
>>> import sys
>>> import tensorflow as tf
>>> print(tf.sysconfig.get_link_flags())
[]
是因为Windows环境的问题吗?
我是参考了文章Conda+GPU+Thensorflow 2+Horovod+Athena语音技术开源工具-手把手安装教学按照步骤进行的。
只有系统环境不同。
辛苦帮分析一下问题原因。
JianweiSun007 commented
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stale commented
This issue is closed. You can also re-open it if needed.