[英]GLBCX not found when importing TVM
I am really new to compilers.我对编译器真的很陌生。 I have installed the TVM following the instructions on the site .
我已经按照网站上的说明安装了 TVM。 However, when I type the command:
但是,当我键入命令时:
python -c "import tvm"
I see this error:我看到这个错误:
OSError: /home/maryam/anaconda3/envs/tvm-build/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/maryam/tvm/python/tvm/libtvm.so)
I have tried installing libgcc, but it didn't help.我试过安装 libgcc,但没有帮助。 Also, I have checked pythonpath, and the version in the apache-tvm folder is already included.
另外,我检查了pythonpath,并且已经包含了apache-tvm文件夹中的版本。
I would appreciate it if anyone helps me.如果有人帮助我,我将不胜感激。 Thanks.
谢谢。
I have solved my problem by entering我已经通过输入解决了我的问题
export LD_PRELOAD="/lib/x86_64-linux-gnu/libstdc++.so.6"
after installation in the terminal.在终端安装后。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.