[英]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.我正在尝试在 Conda 环境中的远程机器上运行
setup.py
文件。 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
.我发现一篇帖子表明我没有足够高的
libc6
版本。
My question: is it possible for me to update this and overcome my problem even if I am not the root user?我的问题:即使我不是 root 用户,我是否可以更新它并解决我的问题? 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.
我是使用 Conda 环境的新手,所以我不确定这是否是我可以在我的 Conda 环境中完成而不必打扰系统管理员的事情。
My question: is it possible for me to update this and overcome my problem even if I am not the root user?
我的问题:即使我不是 root 用户,我是否可以更新它并解决我的问题?
Yes, in multiple ways.是的,以多种方式。 From easiest to more difficult:
从最简单到更难:
torch
intended to run on your system.torch
版本。torch
from source on the target system.torch
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.