This is not guaranteed to work, but it might be worth trying. (If it doesn't work, it's doubtful I can help you any further than this.)
- Make sure you have a lot of hard drive space
- Install Anaconda and create a python 3.7 environment
- Follow the instructions at pytorch.org to install the appropriate pytorch
- Install the Visual C++ Build Tools https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017
- install cython:
conda install cython
- pip install allennlp==0.6.0