on master help sign in
[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>

commitc4a98862bf3f8d94464eede4fa89bbf05997e930 authorMarkus Heiser <markus.heiser@darmarit.de> dateSat 16 Jan 2021, 08:58 (6 years ago) parent5a511f0
2 files changed+3
docs/build-templates/searx.rst+1 utils/searx.sh+2
docs/build-templates/searx.rst+1
@@ -116,6 +116,7 @@ ${fedora_build}
116116 pip install -U pip
117117 pip install -U setuptools
118118 pip install -U wheel
119+ pip install -U pyyaml
119120
120121 # jump to searx's working tree and install searx into virtualenv
121122 (${SERVICE_USER})$ cd \"$SEARX_SRC\"
utils/searx.sh+2
@@ -333,6 +333,7 @@ git pull
333333pip install -U pip
334334pip install -U setuptools
335335pip install -U wheel
336+pip install -U pyyaml
336337pip install -U -e .
337338EOF
338339 install_settings
@@ -503,6 +504,7 @@ EOF
503504pip install -U pip
504505pip install -U setuptools
505506pip install -U wheel
507+pip install -U pyyaml
506508pip install -U -e .
507509cd ${SEARX_SRC}
508510pip install -e .