Skip to content
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

OSError: libcudart.so.9.0: cannot open shared object file: No such file or directory #16

Open
outside-BUPT opened this issue Feb 25, 2023 · 0 comments

Comments

@outside-BUPT
Copy link

outside-BUPT commented Feb 25, 2023

您好,很感谢您分享代码。
在运行示范命令
python train.py --file model_setting/st-metanet.yaml --gpus 0 --epochs 200
遇到报错信息如下:
Traceback (most recent call last):
File "train.py", line 7, in
import mxnet as mx
File "/home/cll/anaconda3/envs/MetaNet/lib/python3.5/site-packages/mxnet/init.py", line 24, in
from .context import Context, current_context, cpu, gpu, cpu_pinned
File "/home/cll/anaconda3/envs/MetaNet/lib/python3.5/site-packages/mxnet/context.py", line 24, in
from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
File "/home/cll/anaconda3/envs/MetaNet/lib/python3.5/site-packages/mxnet/base.py", line 213, in
_LIB = _load_lib()
File "/home/cll/anaconda3/envs/MetaNet/lib/python3.5/site-packages/mxnet/base.py", line 204, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
File "/home/cll/anaconda3/envs/MetaNet/lib/python3.5/ctypes/init.py", line 347, in init
self._handle = _dlopen(self._name, mode)
OSError: libcudart.so.9.0: cannot open shared object file: No such file or directory
环境安装,除了mxnet_cu90,剩下的lib都是严格对照requirements.txt。mxnet_cu90从https://dist.mxnet.io/python/cu90网站下载临近的两个whl文件,mxnet_cu90-1.5.0b20190106-py2.py3-none-manylinux1_x86_64.whl 和mxnet_cu90-1.5.0b20190113-py2.py3-none-manylinux1_x86_64.whl。分别测试后, 都会出现上述报错,请问该如何Debug~
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant