diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-01-16 08:58:13 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-01-16 08:58:13 +0100 |
commit | c4a98862bf3f8d94464eede4fa89bbf05997e930 (patch) | |
tree | 0a712b07f8772265adc7b2666c4defe78eb53bc2 /utils/searx.sh | |
parent | 5a511f0d620038b8e94c581bcfd3c987082b9414 (diff) | |
download | searxng-c4a98862bf3f8d94464eede4fa89bbf05997e930.tar.gz searxng-c4a98862bf3f8d94464eede4fa89bbf05997e930.zip |
[fix] setup.py requires pyyaml installed
pip install -e .
...
Obtaining file:///usr/local/searx/searx-src
ERROR: Command errored out with exit status 1:
command: /usr/local/searx/searx-pyenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/usr/local/searx/searx-src/setup.py'"'"'; __file__='"'"'/usr/local/searx/searx-src/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-vzer91m2
cwd: /usr/local/searx/searx-src/
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/searx/searx-src/setup.py", line 10, in <module>
from searx.version import VERSION_STRING
File "/usr/local/searx/searx-src/searx/__init__.py", line 19, in <module>
import searx.settings_loader
File "/usr/local/searx/searx-src/searx/settings_loader.py", line 8, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-x | utils/searx.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/searx.sh b/utils/searx.sh index 134f0dbb1..f85935fa2 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -333,6 +333,7 @@ git pull pip install -U pip pip install -U setuptools pip install -U wheel +pip install -U pyyaml pip install -U -e . EOF install_settings @@ -503,6 +504,7 @@ EOF pip install -U pip pip install -U setuptools pip install -U wheel +pip install -U pyyaml pip install -U -e . cd ${SEARX_SRC} pip install -e . |