Closed liscruk closed 3 years ago
Hi there, thanks for submitting this. This error happens when tensorflow >= 2.3.0 is used, due to a change in tensorflow that occurred after tensorflow 2.2.0. The fix requires re-training the models, so it's a known issue until we release the next version of the MHCflurry models. The files with the shebang are generated automatically when the package is installed. I think your change is likely changing the venv bieng used and thus the version of tensorflow.
Hi thanks for your response! Problem for me was that I had all the older versions installed in a conda env but for some reason on our server we still defaulted to the sys version of the packages so there might also be an issue with the python envs on our end. I just wanted to leave it here in case people get the error even with correct dependencies and want to put a band aid on it.
Thanks for your help and your input.
When installing with conda, this error gets raised when system version of python is greater than 3.8.8. Even with an activated conda environment mhc-flurry still might default to system python. This is fixable simply changing the shebang:
to
In case anybody else has this issue. It might be an easy minor "fix" for future version and of course QOL addition.
Full error message: