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
ERROR: Command errored out with exit status 1:
command: /home/ma-user/anaconda3/envs/PyTorch-2.1.0/bin/python3.9 /home/ma-user/anaconda3/envs/PyTorch-2.1.0/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp8nq3jjt5
cwd: /tmp/pip-install-9x2lsc1s/outlines-core_ff40362b30294fdbb665f7cf889d3f96
Complete output (76 lines):
running bdist_wheel
running build
running build_py
creating build/lib.linux-aarch64-cpython-39/outlines_core
copying python/outlines_core/_version.py -> build/lib.linux-aarch64-cpython-39/outlines_core
copying python/outlines_core/__init__.py -> build/lib.linux-aarch64-cpython-39/outlines_core
running egg_info
writing python/outlines_core.egg-info/PKG-INFO
writing dependency_links to python/outlines_core.egg-info/dependency_links.txt
writing requirements to python/outlines_core.egg-info/requires.txt
writing top-level names to python/outlines_core.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'python/outlines_core.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'python/outlines_core.egg-info/SOURCES.txt' /tmp/pip-build-env-a1cv_pv1/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'outlines_core.fsm' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'outlines_core.fsm' 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 'outlines_core.fsm' 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 'outlines_core.fsm' to be distributed and are
already explicitly excluding 'outlines_core.fsm' 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.
********************************************************************************!!
check.warn(importable)
copying python/outlines_core/py.typed -> build/lib.linux-aarch64-cpython-39/outlines_core
creating build/lib.linux-aarch64-cpython-39/outlines_core/fsm
copying python/outlines_core/fsm/__init__.py -> build/lib.linux-aarch64-cpython-39/outlines_core/fsm
copying python/outlines_core/fsm/guide.py -> build/lib.linux-aarch64-cpython-39/outlines_core/fsm
copying python/outlines_core/fsm/json_schema.py -> build/lib.linux-aarch64-cpython-39/outlines_core/fsm
copying python/outlines_core/fsm/outlines_core_rs.pyi -> build/lib.linux-aarch64-cpython-39/outlines_core/fsm
copying python/outlines_core/fsm/regex.py -> build/lib.linux-aarch64-cpython-39/outlines_core/fsm
running build_ext
running build_rust
error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. ---------------------------------------- ERROR: Failed building wheel for outlines-coreFailed to build outlines-coreERROR: Could not build wheels for outlines-core which use PEP 517 and cannot be installed directly
Outlines/Python version information:
Version information
```
Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:53:27)
[GCC 9.4.0]
```
Context for the issue:
The latest outlines and outlines-core doesn't work.
The text was updated successfully, but these errors were encountered:
Describe the issue as clearly as possible:
fail to install outlines due to lack of rust complier.
system settings:
NAME="Huawei Cloud EulerOS"
VERSION="2.0 (aarch64)"
ID="hce"
VERSION_ID="2.0"
PRETTY_NAME="Huawei Cloud EulerOS 2.0 (aarch64)"
ANSI_COLOR="0;31"
Steps/code to reproduce the bug:
Expected result:
Error message:
Outlines/Python version information:
Version information
Context for the issue:
The latest outlines and outlines-core doesn't work.
The text was updated successfully, but these errors were encountered: