1

我正在Google Colab 上尝试 Haystack 教程 1 - https://github.com/deepset-ai/haystack/blob/master/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb ,安装过程中出现以下不兼容错误

命令

!pip install git+https://github.com/deepset-ai/haystack.git
!pip install urllib3==1.25.4

错误

Successfully built farm-haystack langdetect python-multipart python-docx tika seqeval databricks-cli prometheus-flask-exporter alembic
ERROR: torchvision 0.9.1+cu101 has requirement torch==1.8.1, but you'll have torch 1.7.1 which is incompatible.
ERROR: torchtext 0.9.1 has requirement torch==1.8.1, but you'll have torch 1.7.1 which is incompatible.
ERROR: pytest 3.6.4 has requirement pluggy<0.8,>=0.5, but you'll have pluggy 0.13.1 which is incompatible.
ERROR: datascience 0.10.6 has requirement folium==0.2.1, but you'll have folium 0.8.3 which is incompatible.
ERROR: botocore 1.20.84 has requirement urllib3<1.27,>=1.25.4, but you'll have urllib3 1.24.3 which is incompatible.
ERROR: grpcio-tools 1.37.1 has requirement grpcio>=1.37.1, but you'll have grpcio 1.34.1 which is incompatible.
4

1 回答 1

1

该问题已通过使用解决

!pip install grpcio-tools==1.34.1
于 2021-06-01T14:18:07.417 回答