Closed bhawnapiryani closed 3 months ago
@bhawnapiryani can you share the command you used to install haystack? Also maybe the environment details (maybe which cloud you're using). I am unable to reproduce this locally on my linux machine.
@bhawnapiryani can you share the command you used to install haystack? i have the same issue! the cmd i use was "pip install farm-haystack" I would appreciate it if u can help me solve this issue!
@MozerWang can you share the environment details? like OS, python version, Haystack version?
@MozerWang can you share the environment details? like OS, python version, Haystack version?
sorry,the detail as below: os: centos7 haystack: farm-haystack-1.14.0 python:3.7.16
I also met the issue when I use the cmd "pip install "farm-haystack[all]" ":
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI. espnet depends on pytorch-wpe@ git+https://github.com/nttcslab-sp/dnn_wpe.git
@MozerWang I will check with the team on Monday if we have any guidelines on CentOS internally.
For the cmd "pip install "farm-haystack[all]", the issue is with one package, we fixed it on main branch but you can do it locally by running the following commands.
pip uninstall requests-cache
pip install requests-cache<1.0.0
Also please feel free post as many full logs as you can so that we can debug issues more accurately.
appreciate!
Still this issue when i use the cmd "import haystack"
`>>> import haystack
Traceback (most recent call last):
File "
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/haystack/init.py", line 21, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/haystack/nodes/init.py", line 1, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/haystack/utils/init.py", line 2, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/haystack/utils/preprocessing.py", line 7, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/haystack/nodes/file_converter/init.py", line 8, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/haystack/nodes/file_converter/tika.py", line 10, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/tika/parser.py", line 19, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/site-packages/tika/tika.py", line 156, in
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/logging/init.py", line 1147, in init StreamHandler.init(self, self._open())
File "/u01/wangminzheng/miniconda3/envs/bankqa/lib/python3.8/logging/init.py", line 1176, in _open return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/tmp/tika.log'`
Also having a
PermissionError: [Errno 13] Permission denied: '/tmp/tika.log
Multiple people using haystack on a shared workstation.
Hello,
I installed haystack without any error but when i import it there is two error
First
PermissionError: [Errno 13] Permission denied: '/tmp/tika.log'
i solved it by using
import os; os.environ["TIKA_LOG_PATH"] = "/tmp/"
Second
System: