You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I get an error when installing searxng, if I'm not the only one, here are the logs
`Downloading werkzeug-3.1.3-py3-none-any.whl (224 kB)
⠇Installing collected packages: pytz, fasttext-predict, Brotli, uvloop, typing-extensions, sniffio, six, setproctitle, python-socks, pygments, msgspec, mdurl, MarkupSafe, lxml, itsdangerous, isodate, idna, hyperframe, hpack, h11, click, certifi, blinker, babel, async-timeout, Werkzeug, typer-slim, redis, python-dateutil, markdown-it-py, jinja2, h2, anyio, httpcore, flask, httpx, flask-babel, httpx-socks, searxng
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━ 34/39 [flask] DEPRECATION: Legacy editable install of searxng==2025.4.30+fd33559cf from file:///usr/local/searxng/searxng-src (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
Running setup.py develop for searxng
⠼ error: subprocess-exited-with-error╸━ 38/39 [searxng]
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [102 lines of output]
/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU Affero General Public License v3
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
2025-05-01 08:57:13,087 INFO:root: running develop
/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``develop``.
Instead, use standards-based tools like pip or uv.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
Obtaining file:///usr/local/searxng/searxng-src
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
Traceback (most recent call last):
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 6, in <module>
File "/usr/local/searxng/searxng-src/searx/__init__.py", line 11, in <module>
import searx.settings_loader
File "/usr/local/searxng/searxng-src/searx/settings_loader.py", line 27, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "/usr/local/searxng/searxng-src/setup.py", line 18, in <module>
setup(
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/dist.py", line 1104, in run_command
super().run_command(command)
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/command/develop.py", line 39, in run
subprocess.check_call(cmd)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/searxng/searx-pyenv/bin/python3', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [102 lines of output]
/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU Affero General Public License v3
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
2025-05-01 08:57:13,087 INFO:root: running develop
/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``develop``.
Instead, use standards-based tools like pip or uv.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
Obtaining file:///usr/local/searxng/searxng-src
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
Traceback (most recent call last):
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-qzakfoua/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 6, in <module>
File "/usr/local/searxng/searxng-src/searx/__init__.py", line 11, in <module>
import searx.settings_loader
File "/usr/local/searxng/searxng-src/searx/settings_loader.py", line 27, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "/usr/local/searxng/searxng-src/setup.py", line 18, in <module>
setup(
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/dist.py", line 1104, in run_command
super().run_command(command)
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/command/develop.py", line 39, in run
subprocess.check_call(cmd)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/searxng/searx-pyenv/bin/python3', '-m', 'pip', 'install', '-e', '.', '--use-pep517', '--no-deps']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
⠧
[ERROR] in line 43: exit code 0: while executing command $STD pip install -e /usr/local/searxng/searxng-src
/dev/fd/63: line 72: SPINNER_PID: unbound variable
`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I get an error when installing searxng, if I'm not the only one, here are the logs
`Downloading werkzeug-3.1.3-py3-none-any.whl (224 kB)
⠇Installing collected packages: pytz, fasttext-predict, Brotli, uvloop, typing-extensions, sniffio, six, setproctitle, python-socks, pygments, msgspec, mdurl, MarkupSafe, lxml, itsdangerous, isodate, idna, hyperframe, hpack, h11, click, certifi, blinker, babel, async-timeout, Werkzeug, typer-slim, redis, python-dateutil, markdown-it-py, jinja2, h2, anyio, httpcore, flask, httpx, flask-babel, httpx-socks, searxng
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━ 34/39 [flask] DEPRECATION: Legacy editable install of searxng==2025.4.30+fd33559cf from file:///usr/local/searxng/searxng-src (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
Running setup.py develop for searxng
⠼ error: subprocess-exited-with-error╸━ 38/39 [searxng]
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [102 lines of output]
/usr/local/searxng/searx-pyenv/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
⠧
[ERROR] in line 43: exit code 0: while executing command $STD pip install -e /usr/local/searxng/searxng-src
/dev/fd/63: line 72: SPINNER_PID: unbound variable
`
Beta Was this translation helpful? Give feedback.
All reactions