简体   繁体   English

我可以在没有系统管理员的情况下修复“找不到版本 GLIBC_2.14”错误吗?

[英]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:从最简单到更难:

  1. You can download a build of torch intended to run on your system.您可以下载旨在在您的系统上运行的torch版本。
  2. You could build torch from source on the target system.您可以在目标系统上从源代码构建torch
  3. You could install a second (newer) version of GLIBC in alternative location.您可以在其他位置安装第二个(更新)版本的 GLIBC。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 未找到 OpenSuse 11 版本“GLIBC_2.14” - OpenSuse 11 version `GLIBC_2.14' not found 找不到导入的MySQLdb和`GLIBC_2.14&#39; - Importing MySQLdb and `GLIBC_2.14' not found /lib64/libc.so.6:未找到版本“GLIBC_2.14” - 使用 pyinstaller 构建应用程序时出错 - /lib64/libc.so.6: version `GLIBC_2.14' not found - error from the application build using pyinstaller 找不到 GLIBC_2.14,如果我不是 root 怎么办 - GLIBC_2.14 not found, what should i do if i am not root 安装Pygrib时出现GLIBC_2.14错误消息 - GLIBC_2.14 Error Message when Installing Pygrib python:exchangelib:RHEL 6: GLIBC_2.14 问题 - python:exchangelib:RHEL 6: GLIBC_2.14 issues GLIBC 2.14 安装错误:需要强制展开支持 - RHEL 7.5 - GLIBC 2.14 installation error: forced unwind support is required - RHEL 7.5 我发现了一个语法错误,我无法修复列表 - I found a syntax error making a list I can't fix Python:如何产生此错误,我该如何解决? - Python: How is this error being generated and how can I fix it? 我收到错误 ImportError: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found while Performing Google Assistant on Raspberry Pi - I am getting error ImportError: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found while Performing Google Assistant on Raspberry Pi
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM