Skip to content

`GLIBC_2.27' not found error #15

@raichelphilip

Description

@raichelphilip

"from flair import FLAIRModel" line throws an error (given below).
Traceback (most recent call last):
File "/home/.conda/envs/flair_env/lib/python3.11/site-packages/torch/init.py", line 168, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File "/home/.conda/envs/flair_env/lib/python3.11/ctypes/init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/.conda/envs/flair_env/lib/python3.11/site-packages/torch/lib/../../../../libcurand.so.10)

HI Julio,
I am making use of an HPC facility for installing the libraries and running the FLAIR model, and as per the OS currently in use there, the max version of GLIBC that I can have is 2.17...". Is there a different version of flair model which can be installed to deal with this error? Can you kindly suggest a workaround for this issue. Thanks. Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions