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
最开始有一行报错:
libtinfo.so.6: no version information available (required by bash)
然后中间有重复新的报错:
Building wheels for collected packages: ktransformers
Building wheel for ktransformers (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for ktransformers (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [2119 lines of output]
Using native cpu instruct
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-311/ktransformers
copying ktransformers/init.py -> build/lib.linux-x86_64-cpython-311/ktransformers
copying ktransformers/local_chat.py -> build/lib.linux-x86_64-cpython-311/ktransformers
running egg_info
creating ktransformers.egg-info
writing ktransformers.egg-info/PKG-INFO
writing dependency_links to ktransformers.egg-info/dependency_links.txt
writing entry points to ktransformers.egg-info/entry_points.txt
writing requirements to ktransformers.egg-info/requires.txt
writing top-level names to ktransformers.egg-info/top_level.txt
writing manifest file 'ktransformers.egg-info/SOURCES.txt'
reading manifest file 'ktransformers.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'local_chat.py'
no previously-included directories found matching 'ktransformers/logs'
warning: no previously-included files matching 'pycache' found anywhere in distribution
warning: no files found matching 'KTransformersOps.*.so'
adding license file 'LICENSE'
writing manifest file 'ktransformers.egg-info/SOURCES.txt'
/root/miniconda3/envs/ktransformers/lib/python3.11/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'ktransformers.configs' is absent from the packages configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'ktransformers.configs' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'ktransformers.configs' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'ktransformers.configs' to be distributed and are
already explicitly excluding 'ktransformers.configs' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
最后有一段报错:
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' 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: Failed building wheel for ktransformers
Failed to build ktransformers
ERROR: Failed to build installable wheels for some pyproject.toml based projects (ktransformers)
The text was updated successfully, but these errors were encountered:
Cookie-ovo
changed the title
运行bash install.sh时报错
运行bash install.sh时报错,询问一下该如何解决?
Feb 27, 2025
最开始有一行报错:
libtinfo.so.6: no version information available (required by bash)
然后中间有重复新的报错:
Building wheels for collected packages: ktransformers
Building wheel for ktransformers (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for ktransformers (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [2119 lines of output]
Using native cpu instruct
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-311/ktransformers
copying ktransformers/init.py -> build/lib.linux-x86_64-cpython-311/ktransformers
copying ktransformers/local_chat.py -> build/lib.linux-x86_64-cpython-311/ktransformers
running egg_info
creating ktransformers.egg-info
writing ktransformers.egg-info/PKG-INFO
writing dependency_links to ktransformers.egg-info/dependency_links.txt
writing entry points to ktransformers.egg-info/entry_points.txt
writing requirements to ktransformers.egg-info/requires.txt
writing top-level names to ktransformers.egg-info/top_level.txt
writing manifest file 'ktransformers.egg-info/SOURCES.txt'
reading manifest file 'ktransformers.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'local_chat.py'
no previously-included directories found matching 'ktransformers/logs'
warning: no previously-included files matching 'pycache' found anywhere in distribution
warning: no files found matching 'KTransformersOps.*.so'
adding license file 'LICENSE'
writing manifest file 'ktransformers.egg-info/SOURCES.txt'
/root/miniconda3/envs/ktransformers/lib/python3.11/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'ktransformers.configs' is absent from the
packages
configuration.!!
最后有一段报错:
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' 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: Failed building wheel for ktransformers
Failed to build ktransformers
ERROR: Failed to build installable wheels for some pyproject.toml based projects (ktransformers)
The text was updated successfully, but these errors were encountered: