[Suggestion]: It is necessary to add the Go environment configuration to the Prerequisites section.
Bug Description
Go 1.25.1+ is a mandatory dependency for OpenViking/Viking (introduced by AGFS agfs-server). Install Go 1.25.1 or a higher compatible version on Linux (Ubuntu/CentOS) prior to the project installation. Otherwise, the installation will abort and report a "Go environment missing" or "Go version mismatch" error. It is a core prerequisite for the compilation and operation of the AGFS agfs-server component and the entire project.
Steps to Reproduce
pip install openviking(0.1.6 version) on Linux (Ubuntu/CentOS) without a Go environment or with an incompatible Go version
Expected Behavior
install success
Actual Behavior
Minimal Reproducible Example
Error Logs
opying openviking/prompts/templates/compression/structured_summary.yaml -> build/lib.linux-x86_64-cpython-310/openviking/prompts/templates/compression
running build_ext
Traceback (most recent call last):
File "/home/admin/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/home/admin/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/home/admin/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 439, in build_wheel
return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 427, in _build
return self._build_with_temp_dir(
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 408, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 122, in <module>
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs) # type: ignore[return-value]
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in run_command
super().run_command(command)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
self.run_command("build")
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in run_command
super().run_command(command)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in run_command
super().run_command(command)
File "/tmp/pip-build-env-oqt74yi3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "<string>", line 18, in run
File "<string>", line 73, in build_agfs
RuntimeError: Go compiler not found. Please install Go to build AGFS server.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for openviking
Failed to build openviking
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> openviking
OpenViking Version
0.1.6
Python Version
3.10
Operating System
Linux
Model Backend
None
Additional Context
No response
Note: Due to permission restrictions, I cannot modify the issue label myself. This is a document optimization suggestion, not a bug report. Could you please update the label to "document improvement"?
Thank you for your interest in openviking. You are currently triggering a source code compilation, which requires Go. Currently, openviking (1.0.6) only supports manylinux_2_39 (requires system glibc ≥ 2.39) and x86_64 via Linux wheel package installation. Could you please tell me your glibc and CPU architecture versions?
(GNU libc) 2.32 and x86_64
Get it. This is indeed because the current wheel package from openviking has too high a glibc version requirement. I will try to release a package that will allow you to install it successfully.
Get it. This is indeed because the current wheel package from openviking has too high a glibc version requirement. I will try to release a package that will allow you to install it successfully.
@Tsan1024 Hi, new version 0.1.7 has been released : https://pypi.org/project/openviking/0.1.7/