Describe the bug
When I run "pip install farm-haystack" I receive an error relating to torch.
Error message
The error I encounter:
ERROR: Could not find a version that satisfies the requirement torch==1.5.* (from farm==0.4.6->farm-haystack) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.5.* (from farm==0.4.6->farm-haystack)
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
I managed to install the package before and I had to reset my anaconda, I also recently installed docker to be able to use the elasticsearch functionality.
To Reproduce
Steps to reproduce the behavior
System:
Hi @Ebi117, this issue is resolved on the latest haystack master branch but it is not yet released on the PyPI package repository. In the meantime, can you try installing haystack from source:
git clone https://github.com/deepset-ai/haystack.git
cd haystack
pip install --editable .
I tried this now and got the following error:
ERROR: Could not find a version that satisfies the requirement torch<=1.6.0,>=1.5.1 (from farm==0.4.7->farm-haystack==0.3.0) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch<=1.6.0,>=1.5.1 (from farm==0.4.7->farm-haystack==0.3.0)
Is there any other workaround? I have tried installing torch separately to no avail.
@tanaysoni I have tried installing torch separately from pytorch with the following command:
pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
After that, I tried installing haystack using the method you provided and get the same error message:
ERROR: Could not find a version that satisfies the requirement torch<=1.6.0,>=1.5.1 (from farm==0.4.7->farm-haystack==0.3.0) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch<=1.6.0,>=1.5.1 (from farm==0.4.7->farm-haystack==0.3.0)
Hi @Ebi117 ,
We could replicate your issue on a windows machine.
The issue comes from PyTorch rather than Haystack.
Pytorch has only few versions available on PyPi, but has additional wheels at a custom location.
Their recommended way to install pytorch via pip on windows: pip install torch -f https://download.pytorch.org/whl/torch_stable.html (see here)
Can you please try to install via:
pip install farm-haystack -f https://download.pytorch.org/whl/torch_stable.html
Hi @tholor
I tried the command as you recommended and it worked to some extent that most of the packages got installed. I did however receive a incompatible error with torchvision and bokeh packages. Here is the output from the command you specified, I've bolded the error lines:
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting farm-haystack
Using cached farm_haystack-0.3.0-py3-none-any.whl (82 kB)
Requirement already satisfied: elasticsearch in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm-haystack) (7.9.1)
Collecting tox
Using cached tox-3.20.0-py2.py3-none-any.whl (83 kB)
Collecting python-docx
Using cached python-docx-0.8.10.tar.gz (5.5 MB)
Collecting farm==0.4.6
Using cached farm-0.4.6-py3-none-any.whl (184 kB)
Collecting gunicorn
Using cached gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)
Collecting fastapi
Using cached fastapi-0.61.1-py3-none-any.whl (48 kB)
Collecting psycopg2-binary
Using cached psycopg2_binary-2.8.6-cp38-cp38-win_amd64.whl (1.1 MB)
Requirement already satisfied: pandas in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm-haystack) (1.0.5)
Processing c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\76\03\bb\589d421d27431bcd2c6da284d5f2286c8e3b2ea3cf1594c074\sklearn-0.0-py2.py3-none-any.whl
Collecting python-multipart
Using cached python-multipart-0.0.5.tar.gz (32 kB)
Collecting langdetect
Using cached langdetect-1.0.8.tar.gz (981 kB)
Collecting elastic-apm
Using cached elastic_apm-5.8.1-py3-none-any.whl (456 kB)
Collecting coverage
Using cached coverage-5.2.1-cp38-cp38-win_amd64.whl (208 kB)
Collecting uvicorn
Using cached uvicorn-0.11.8-py3-none-any.whl (43 kB)
Collecting wget
Using cached wget-3.2.zip (10 kB)
Requirement already satisfied: certifi in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from elasticsearch->farm-haystack) (2020.6.20)
Requirement already satisfied: urllib3>=1.21.1 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from elasticsearch->farm-haystack) (1.25.9)
Requirement already satisfied: packaging>=14 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from tox->farm-haystack) (20.4)
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
Using cached virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
Collecting six>=1.14.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: py>=1.4.17 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from tox->farm-haystack) (1.9.0)
Requirement already satisfied: colorama>=0.4.1; platform_system == "Windows" in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from tox->farm-haystack) (0.4.3)
Requirement already satisfied: toml>=0.9.4 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from tox->farm-haystack) (0.10.1)
Requirement already satisfied: filelock>=3.0.0 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from tox->farm-haystack) (3.0.12)
Requirement already satisfied: pluggy>=0.12.0 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from tox->farm-haystack) (0.13.1)
Requirement already satisfied: lxml>=2.3.2 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from python-docx->farm-haystack) (4.5.2)
Collecting torch==1.5.*
Downloading https://download.pytorch.org/whl/cu92/torch-1.5.1%2Bcu92-cp38-cp38-win_amd64.whl (694.2 MB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 694.2 MB 1.2 kB/s
Collecting dill
Using cached dill-0.3.2.zip (177 kB)
Requirement already satisfied: requests in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (2.24.0)
Requirement already satisfied: wheel in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (0.34.2)
Collecting boto3
Downloading boto3-1.14.57.tar.gz (97 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 97 kB 1.3 MB/s
Requirement already satisfied: tqdm in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (4.47.0)
Collecting flask-restplus
Using cached flask_restplus-0.13.0-py2.py3-none-any.whl (2.5 MB)
Collecting mlflow==1.0.0
Using cached mlflow-1.0.0-py3-none-any.whl (47.7 MB)
Requirement already satisfied: psutil in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (5.7.0)
Requirement already satisfied: scipy>=1.3.2 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (1.5.0)
Collecting transformers==3.0.2
Using cached transformers-3.0.2-py3-none-any.whl (769 kB)
Collecting Werkzeug==0.16.1
Using cached Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB)
Requirement already satisfied: flask in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (1.1.2)
Collecting dotmap==1.3.0
Using cached dotmap-1.3.0-py3-none-any.whl (8.9 kB)
Collecting seqeval
Using cached seqeval-0.0.12.tar.gz (21 kB)
Requirement already satisfied: setuptools in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from farm==0.4.6->farm-haystack) (49.2.0.post20200714)
Collecting flask-cors
Using cached Flask_Cors-3.0.9-py2.py3-none-any.whl (14 kB)
Collecting starlette==0.13.6
Using cached starlette-0.13.6-py3-none-any.whl (59 kB)
Collecting pydantic<2.0.0,>=1.0.0
Using cached pydantic-1.6.1-cp38-cp38-win_amd64.whl (1.7 MB)
Requirement already satisfied: pytz>=2017.2 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from pandas->farm-haystack) (2020.1)
Requirement already satisfied: numpy>=1.13.3 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from pandas->farm-haystack) (1.18.5)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from pandas->farm-haystack) (2.8.1)
Requirement already satisfied: scikit-learn in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from sklearn->farm-haystack) (0.23.1)
Collecting h11<0.10,>=0.8
Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB)
Collecting websockets==8.*
Using cached websockets-8.1-cp38-cp38-win_amd64.whl (66 kB)
Requirement already satisfied: click==7.* in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from uvicorn->farm-haystack) (7.1.2)
Requirement already satisfied: pyparsing>=2.0.2 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from packaging>=14->tox->farm-haystack) (2.4.7)
Collecting appdirs<2,>=1.4.3
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 335 kB 6.4 MB/s
Requirement already satisfied: future in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from torch==1.5.*->farm==0.4.6->farm-haystack) (0.18.2)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from requests->farm==0.4.6->farm-haystack) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from requests->farm==0.4.6->farm-haystack) (2.10)
Collecting botocore<1.18.0,>=1.17.57
Downloading botocore-1.17.57-py2.py3-none-any.whl (6.6 MB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 6.6 MB 2.2 MB/s
Collecting jmespath<1.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting s3transfer<0.4.0,>=0.3.0
Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
Requirement already satisfied: jsonschema in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from flask-restplus->farm==0.4.6->farm-haystack) (3.2.0)
Collecting aniso8601>=0.82
Downloading aniso8601-8.0.0-py2.py3-none-any.whl (43 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 43 kB 3.4 MB/s
Collecting querystring-parser
Downloading querystring_parser-1.2.4.tar.gz (5.5 kB)
Requirement already satisfied: cloudpickle in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from mlflow==1.0.0->farm==0.4.6->farm-haystack) (1.5.0)
Collecting docker>=3.6.0
Downloading docker-4.3.1-py2.py3-none-any.whl (145 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 145 kB 3.3 MB/s
Requirement already satisfied: pyyaml in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from mlflow==1.0.0->farm==0.4.6->farm-haystack) (5.3.1)
Collecting simplejson
Downloading simplejson-3.17.2.tar.gz (83 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 83 kB 362 kB/s
Collecting protobuf>=3.6.0
Downloading protobuf-3.13.0-py2.py3-none-any.whl (438 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 438 kB 3.3 MB/s
Collecting alembic
Downloading alembic-1.4.2.tar.gz (1.1 MB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 1.1 MB 3.2 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting databricks-cli>=0.8.0
Downloading databricks-cli-0.11.0.tar.gz (49 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 49 kB 1.5 MB/s
Requirement already satisfied: entrypoints in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from mlflow==1.0.0->farm==0.4.6->farm-haystack) (0.3)
Collecting sqlparse
Using cached sqlparse-0.3.1-py2.py3-none-any.whl (40 kB)
Requirement already satisfied: sqlalchemy in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from mlflow==1.0.0->farm==0.4.6->farm-haystack) (1.3.18)
Collecting gitpython>=2.1.0
Downloading GitPython-3.1.8-py3-none-any.whl (159 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 159 kB 3.2 MB/s
Collecting tokenizers==0.8.1.rc1
Downloading tokenizers-0.8.1rc1-cp38-cp38-win_amd64.whl (1.9 MB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 1.9 MB 3.3 MB/s
Collecting sacremoses
Downloading sacremoses-0.0.43.tar.gz (883 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 883 kB 6.4 MB/s
Collecting sentencepiece!=0.1.92
Downloading sentencepiece-0.1.91-cp38-cp38-win_amd64.whl (1.2 MB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 1.2 MB 3.2 MB/s
Requirement already satisfied: regex!=2019.12.17 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from transformers==3.0.2->farm==0.4.6->farm-haystack) (2020.6.8)
Requirement already satisfied: Jinja2>=2.10.1 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from flask->farm==0.4.6->farm-haystack) (2.11.2)
Requirement already satisfied: itsdangerous>=0.24 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from flask->farm==0.4.6->farm-haystack) (1.1.0)
Collecting Keras>=2.2.4
Downloading Keras-2.4.3-py2.py3-none-any.whl (36 kB)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from scikit-learn->sklearn->farm-haystack) (2.1.0)
Requirement already satisfied: joblib>=0.11 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from scikit-learn->sklearn->farm-haystack) (0.16.0)
Collecting docutils<0.16,>=0.10
Using cached docutils-0.15.2-py3-none-any.whl (547 kB)
Requirement already satisfied: attrs>=17.4.0 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from jsonschema->flask-restplus->farm==0.4.6->farm-haystack) (19.3.0)
Requirement already satisfied: pyrsistent>=0.14.0 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from jsonschema->flask-restplus->farm==0.4.6->farm-haystack) (0.16.0)
Collecting websocket-client>=0.32.0
Using cached websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
Requirement already satisfied: pywin32==227; sys_platform == "win32" in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from docker>=3.6.0->mlflow==1.0.0->farm==0.4.6->farm-haystack) (227)
Collecting python-editor>=0.3
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting Mako
Downloading Mako-1.1.3-py2.py3-none-any.whl (75 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 75 kB 1.1 MB/s
Collecting tabulate>=0.7.7
Downloading tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.5-py3-none-any.whl (63 kB)
|鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 63 kB 617 kB/s
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from Jinja2>=2.10.1->flask->farm==0.4.6->farm-haystack) (1.1.1)
Requirement already satisfied: h5py in c:\users\ebrahim noormahomedanaconda3\lib\site-packages (from Keras>=2.2.4->seqeval->farm==0.4.6->farm-haystack) (2.10.0)
Collecting smmap<4,>=3.0.1
Downloading smmap-3.0.4-py2.py3-none-any.whl (25 kB)
Building wheels for collected packages: python-docx, python-multipart, langdetect, wget, dill, boto3, seqeval, querystring-parser, simplejson, alembic, databricks-cli, sacremoses
Building wheel for python-docx (setup.py) ... done
Created wheel for python-docx: filename=python_docx-0.8.10-py3-none-any.whl size=184495 sha256=d3a2d9f50a5fac4e9e0ea7c9a968724acd7a22d29b7c01bb94ed284e99e30d97
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\97\4c\2e\68066cbf12b9b2e66403da8982aaf4f656d9f5cb5dc3179e82
Building wheel for python-multipart (setup.py) ... done
Created wheel for python-multipart: filename=python_multipart-0.0.5-py3-none-any.whl size=31674 sha256=62bcba8b816e96c79ef9fa4f2d785da1a66496e2d89db3ff80ecfaef428a0f5f
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\9e\fc\1c\cf980e6413d3ee8e70cd8f39e2366b0f487e3e221aeb452eb0
Building wheel for langdetect (setup.py) ... done
Created wheel for langdetect: filename=langdetect-1.0.8-py3-none-any.whl size=993196 sha256=a2e7d3bd0e81d495de1cb60d9ccdbb679b00aa3f8050e0fa6c418037fd35480b
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\1e\80\23\0a24928ec3a3906ff5027f38d2fea824e7e97f2ba7c83d91e3
Building wheel for wget (setup.py) ... done
Created wheel for wget: filename=wget-3.2-py3-none-any.whl size=9686 sha256=4cafa1316f32545fda3c4f9a4b329ec9a155f07e541ecf7b884fc3bdb83e7993
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\bda8\c3\3cf2c14a1837a4e04bd98631724e81f33f462d86a1d895fae0
Building wheel for dill (setup.py) ... done
Created wheel for dill: filename=dill-0.3.2-py3-none-any.whl size=78977 sha256=f1a272be2bc2771dc6b1a23bcc4e05c460a5c7bf9dae32b4d2e64ee0c35e477b
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\93\7f\7d\78ec535a4340ef2696aad8b17fe8bb063d56301bd62881b069
Building wheel for boto3 (setup.py) ... done
Created wheel for boto3: filename=boto3-1.14.57-py2.py3-none-any.whl size=127861 sha256=a5609aa936a08962990a1013e02ca91b04a083c979ffc981c13bdaedd83f9988
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\7a\3d\ba\f0779796ece7f2596588fe65d42975c77e38e3445f623ab66c
Building wheel for seqeval (setup.py) ... done
Created wheel for seqeval: filename=seqeval-0.0.12-py3-none-any.whl size=7429 sha256=a65b84dadc31bb2fadb11ab2cefc934de3f7d993ef75c94a00431d122d5c6f42
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\04\bf\20\90daf50b5a8173fc6ee715e6ebb0a16202cc43df471e323e88
Building wheel for querystring-parser (setup.py) ... done
Created wheel for querystring-parser: filename=querystring_parser-1.2.4-py3-none-any.whl size=7081 sha256=ef6a753e0afdb19ca26cd3a0454787f6231fb40799bb212851000f78cdc06e09
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheelsab\58\7a\7d9f46ab9a804f907e205e4bf4cc235d160cf93a624acde0f1
Building wheel for simplejson (setup.py) ... done
Created wheel for simplejson: filename=simplejson-3.17.2-py3-none-any.whl size=55464 sha256=e3cf7f0744db55b48703f09bb98798b40cdc560abd1583e912e6bc54bb821859
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\17\72\7d\df0984c925921e22322ea462a6f861e9d0617881192deb9b8d
Building wheel for alembic (PEP 517) ... done
Created wheel for alembic: filename=alembic-1.4.2-py2.py3-none-any.whl size=159547 sha256=dcabb24b0088ce4a1fee5a4bb157503527dcfb99cc2251736589488574af3914
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\70\08\70\cea787a7e95817b831469fa42af076046e55a05f7c94657463
Building wheel for databricks-cli (setup.py) ... done
Created wheel for databricks-cli: filename=databricks_cli-0.11.0-py3-none-any.whl size=90305 sha256=6e18196c169315c8e05f4284b6e3604ea268ac83e4befe9cd2ca2742861d26c8
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\b9\f6\7e\6a96e9345afe0a27903541766afe0f6229900bbcd33b096032
Building wheel for sacremoses (setup.py) ... done
Created wheel for sacremoses: filename=sacremoses-0.0.43-py3-none-any.whl size=893262 sha256=7ece8bcda19ec6e1da7eefc570af5b2fc63515ddd1038d0bd5f7687e3a684a4b
Stored in directory: c:\users\ebrahim noormahomedappdata\local\pip\cache\wheels\7b\78\f4\27d43a65043e1b75dbddaa421b573eddc67e712be4b1c80677
Successfully built python-docx python-multipart langdetect wget dill boto3 seqeval querystring-parser simplejson alembic databricks-cli sacremoses
ERROR: torchvision 0.7.0+cpu has requirement torch==1.6.0, but you'll have torch 1.5.1+cu92 which is incompatible.
ERROR: bokeh 2.1.1 has requirement tornado>=5.1, but you'll have tornado 4.5.3 which is incompatible.
Installing collected packages: appdirs, six, distlib, virtualenv, tox, python-docx, torch, dill, jmespath, docutils, botocore, s3transfer, boto3, aniso8601, flask-restplus, gunicorn, querystring-parser, websocket-client, docker, simplejson, protobuf, python-editor, Mako, alembic, tabulate, databricks-cli, sqlparse, smmap, gitdb, gitpython, mlflow, sklearn, tokenizers, sacremoses, sentencepiece, transformers, Werkzeug, dotmap, Keras, seqeval, flask-cors, farm, starlette, pydantic, fastapi, psycopg2-binary, python-multipart, langdetect, elastic-apm, coverage, h11, websockets, uvicorn, wget, farm-haystack
Attempting uninstall: six
Found existing installation: six 1.12.0
Uninstalling six-1.12.0:
Successfully uninstalled six-1.12.0
Attempting uninstall: torch
Found existing installation: torch 1.6.0+cpu
Uninstalling torch-1.6.0+cpu:
Successfully uninstalled torch-1.6.0+cpu
Attempting uninstall: docutils
Found existing installation: docutils 0.16
Uninstalling docutils-0.16:
Successfully uninstalled docutils-0.16
Attempting uninstall: Werkzeug
Found existing installation: Werkzeug 1.0.1
Uninstalling Werkzeug-1.0.1:
Successfully uninstalled Werkzeug-1.0.1
Successfully installed Keras-2.4.3 Mako-1.1.3 Werkzeug-0.16.1 alembic-1.4.2 aniso8601-8.0.0 appdirs-1.4.4 boto3-1.14.57 botocore-1.17.57 coverage-5.2.1 databricks-cli-0.11.0 dill-0.3.2 distlib-0.3.1 docker-4.3.1 docutils-0.15.2 dotmap-1.3.0 elastic-apm-5.8.1 farm-0.4.6 farm-haystack-0.3.0 fastapi-0.61.1 flask-cors-3.0.9 flask-restplus-0.13.0 gitdb-4.0.5 gitpython-3.1.8 gunicorn-20.0.4 h11-0.9.0 jmespath-0.10.0 langdetect-1.0.8 mlflow-1.0.0 protobuf-3.13.0 psycopg2-binary-2.8.6 pydantic-1.6.1 python-docx-0.8.10 python-editor-1.0.4 python-multipart-0.0.5 querystring-parser-1.2.4 s3transfer-0.3.3 sacremoses-0.0.43 sentencepiece-0.1.91 seqeval-0.0.12 simplejson-3.17.2 six-1.15.0 sklearn-0.0 smmap-3.0.4 sqlparse-0.3.1 starlette-0.13.6 tabulate-0.8.7 tokenizers-0.8.1rc1 torch-1.5.1+cu92 tox-3.20.0 transformers-3.0.2 uvicorn-0.11.8 virtualenv-20.0.31 websocket-client-0.57.0 websockets-8.1 wget-3.2
Seems that you are installing in an environment that already had torchvision and bokeh installed?
For haystack that should be fine. If you run torchvision or bokeh somewhere else I would recommend to setup a different environment via conda or virtualenv to avoid version conflicts.
I see. Thanks for the assistance @tholor !
Most helpful comment
I see. Thanks for the assistance @tholor !