A question about AllenNLP

AllenNLP is based on torch.

Recently, I was learning a model based on Elmo. It used Allen NLP, but after I installed it, I directly threw the following error. Is this my wrong installation? I tried to uninstall the installation again, but it didn’t solve it. Has anyone encountered such a problem? I can’t start with this problem.

If I’m not mistaken, the resource module is Unix-specific and might not be available on Windows.
However, you could still try to install it via pip install python-resources and check, if the package can be found. If not, you would have to use a Unix-like OS or remove the resource usage from the script.

1 Like