Reputation: 7451
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
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:
torch
intended to run on your system.torch
from source on the target system.Upvotes: 1