Skip to content

Error when running MHCnuggets on RHEL or Centos

aellini edited this page Nov 7, 2019 · 1 revision

Environment

If you are using RHEL or Centos with python 3.7, you may encounter the following error when trying to run MHCnuggets:

Error

ImportError: /usr/lib64/libm.so.6: version `GLIBC_2.23' not found 
(required by /home/user/anaconda3/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)


Failed to load the native TensorFlow runtime.

Solution

You will need to install and run MHCnuggets on python 3.6 to resolve this issue.

If you are using the anaconda platform, then you can follow these steps to setup a python 3.6 environment. These steps assume that anaconda is already installed:

  1. Create a new anaconda environment with python 3.6 (instead of the default 3.7.x). Run this command from terminal (feel free to replace 'newenv' with any name desired):

conda create -n newenv python=3.6

  1. Switch to the new environment, by running this command:

conda activate newenv

  1. Install mhcnuggets:

pip install mhcnuggets