allenNLP models are not working with google colab #13745
Unanswered
AmanPratap965
asked this question in
Help: Coding & Implementations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Code
!pip install allennlp allennlp-models
Error
Collecting allennlp
Using cached allennlp-2.10.1-py3-none-any.whl.metadata (21 kB)
Collecting allennlp-models
Using cached allennlp_models-2.10.1-py3-none-any.whl.metadata (23 kB)
INFO: pip is looking at multiple versions of allennlp to determine which version is compatible with other requirements. This could take a while.
Collecting allennlp
Using cached allennlp-2.10.0-py3-none-any.whl.metadata (20 kB)
Using cached allennlp-2.9.3-py3-none-any.whl.metadata (19 kB)
Using cached allennlp-2.9.2-py3-none-any.whl.metadata (19 kB)
Using cached allennlp-2.9.1-py3-none-any.whl.metadata (19 kB)
Using cached allennlp-2.9.0-py3-none-any.whl.metadata (18 kB)
Using cached allennlp-2.8.0-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.7.0-py3-none-any.whl.metadata (17 kB)
INFO: pip is still looking at multiple versions of allennlp to determine which version is compatible with other requirements. This could take a while.
Using cached allennlp-2.6.0-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.5.0-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.4.0-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.3.1-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.3.0-py3-none-any.whl.metadata (17 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached allennlp-2.2.0-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.1.0-py3-none-any.whl.metadata (17 kB)
Using cached allennlp-2.0.1-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-2.0.0-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-1.5.0-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-1.4.1-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-1.4.0-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-1.3.0-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-1.2.2-py3-none-any.whl.metadata (15 kB)
Using cached allennlp-1.2.1-py3-none-any.whl.metadata (14 kB)
Using cached allennlp-1.2.0-py3-none-any.whl.metadata (13 kB)
Using cached allennlp-1.1.0-py3-none-any.whl.metadata (13 kB)
Using cached allennlp-1.0.0-py3-none-any.whl.metadata (11 kB)
Using cached allennlp-0.9.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: torch>=1.2.0 in /usr/local/lib/python3.11/dist-packages (from allennlp) (2.5.1+cu124)
Collecting overrides (from allennlp)
Using cached overrides-7.7.0-py3-none-any.whl.metadata (5.8 kB)
Requirement already satisfied: nltk in /usr/local/lib/python3.11/dist-packages (from allennlp) (3.9.1)
Collecting spacy<2.2,>=2.1.0 (from allennlp)
Using cached spacy-2.1.9.tar.gz (30.7 MB)
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Beta Was this translation helpful? Give feedback.
All reactions