user1551817
user1551817

Reputation: 7451

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

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.

Upvotes: 2

Views: 3129

Answers (1)

Employed Russian
Employed Russian

Reputation: 213586

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.

Upvotes: 1

Related Questions