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 /docs/build-templates | |
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 'docs/build-templates')
-rw-r--r-- | docs/build-templates/searx.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst index fe82ec3d0..e06bc2c6a 100644 --- a/docs/build-templates/searx.rst +++ b/docs/build-templates/searx.rst @@ -116,6 +116,7 @@ ${fedora_build} pip install -U pip pip install -U setuptools pip install -U wheel + pip install -U pyyaml # jump to searx's working tree and install searx into virtualenv (${SERVICE_USER})$ cd \"$SEARX_SRC\" |