If you are trying to run your code on a server or HPC system and you receive this error, one solution is to first run the step that downloads the model outside of the batch system and then use the downloaded model within the batch system.
This solution resolved my error which was exactly the same error you mentioned here.