Can I fix a “version GLIBC_2.14 not found” error without being sysadmin?

两盒软妹~` 提交于 2020-01-24 19:33:06

问题


I am trying to run a setup.py file on a remote machine in a Conda environment. I get the following error message:

    from torch.utils.cpp_extension import BuildExtension, CUDAExtension
  File "/home/pbrook/miniconda3/envs/super_resolution/lib/python3.6/site-packages/torch/__init__.py", line 81, in <module>
    from torch._C import *
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found

I found one post that suggests that I don't have a high enough version of libc6.

My question: is it possible for me to update this and overcome my problem even if I am not the root user? Or do I have to ask the system admin to do this for me. I am new to using Conda environments, so I wasn't sure if this was something I could do within my Conda environment without having to bother the system admin.


回答1:


My question: is it possible for me to update this and overcome my problem even if I am not the root user?

Yes, in multiple ways. From easiest to more difficult:

  1. You can download a build of torch intended to run on your system.
  2. You could build torch from source on the target system.
  3. You could install a second (newer) version of GLIBC in alternative location.


来源:https://stackoverflow.com/questions/59545197/can-i-fix-a-version-glibc-2-14-not-found-error-without-being-sysadmin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!