-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in 'make' #3
Comments
@czy36mengfei cmake的输出看一下 |
学长好, Traceback (most recent call last): 是因为我的tensorflow是anoconda的python安装的,所以导入tensorflow失败吗?有什么解决的方案吗? thanks from Huster |
@czy36mengfei 看一下python命令默认是哪个环境?tensorflow,TF_LIB都没找到 |
十分感谢您的解答。我发现CMakeLists里调用的是python3.5而不是默认的python,我把它改成python就可以了。 不过在跑test_op.py测试的时候出现了新的问题:
*** End stack trace *** 里面没有具体的错误信息,所以不知道是什么问题,望解答。 |
When I run 'make' in build directory , there some errors:
[100%] Linking CXX shared library libextra_losses.so
/usr/bin/ld: 找不到 -ltensorflow_framework
collect2: error: ld returned 1 exit status
CMakeFiles/extra_losses.dir/build.make:166: recipe for target 'libextra_losses.so' failed
make[2]: *** [libextra_losses.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/extra_losses.dir/all' failed
make[1]: *** [CMakeFiles/extra_losses.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
do you know the reason? thank you for your help.
ubuntu16.04+python3.6(anaconda3)+tensorflow1.6
thank you very much.
The text was updated successfully, but these errors were encountered: