Issues with installation #784
samuelfilo
started this conversation in
General
Replies: 1 comment 18 replies
-
The packaging is a little messy... i just got a nix flake to work on my system if you want to try a different package manager. https://github.com/Yanall-Boutros/tortoise-tts-poetry2nix/blob/main/flake.nix Are you trying to build tokenizers from source or by pip installing it? I think I had similar issues when trying to build from source. |
Beta Was this translation helpful? Give feedback.
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Been dealing with this for couple days now. Not an expert in coding and stuff, just wanted a tts software for content creation. I have tried basically everything. Installed anaconda, installed git, installed docker, when I try to install turtoise I get the following error:
Compiling env_logger v0.7.1
Running
C:\Users\Jens\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name env_logger --edition=2018 C:\Users\Jens\.cargo\registry\src\index.crates.io-6f17d22bba15001f\env_logger-0.7.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"atty\"" --cfg "feature=\"default\"" --cfg "feature=\"humantime\"" --cfg "feature=\"regex\"" --cfg "feature=\"termcolor\"" -C metadata=ac753207f99776f6 -C extra-filename=-ac753207f99776f6 --out-dir C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps -L dependency=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps --extern atty=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libatty-4bb544e7949db8e4.rmeta --extern humantime=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libhumantime-66ac0aaeed87fafc.rmeta --extern log=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\liblog-0732e599608426dc.rmeta --extern regex=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libregex-dcd18ab3dba7dc6f.rmeta --extern termcolor=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libtermcolor-b364d014e12c54d4.rmeta --cap-lints allow -L native=C:\Users\Jens\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.52.5\lib
Compiling tokenizers v0.12.1 (C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\tokenizers-lib)
Running
C:\Users\Jens\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name tokenizers --edition=2018 tokenizers-lib\src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"cached-path\"" --cfg "feature=\"clap\"" --cfg "feature=\"cli\"" --cfg "feature=\"default\"" --cfg "feature=\"http\"" --cfg "feature=\"indicatif\"" --cfg "feature=\"progressbar\"" --cfg "feature=\"reqwest\"" -C metadata=c47154de3bb740b4 -C extra-filename=-c47154de3bb740b4 --out-dir C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps -L dependency=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps --extern aho_corasick=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libaho_corasick-d5296efac79428f6.rmeta --extern cached_path=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libcached_path-139d7f4bf6a282fd.rmeta --extern clap=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libclap-9feb815562d5d8e8.rmeta --extern derive_builder=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\derive_builder-85b7232dfafdd87c.dll --extern dirs=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libdirs-9f5e99cf86581825.rmeta --extern esaxx_rs=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libesaxx_rs-a24884229693a082.rmeta --extern indicatif=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libindicatif-3b1bfdf0af6c7125.rmeta --extern itertools=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libitertools-2ce91855f774ed42.rmeta --extern lazy_static=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\liblazy_static-6bf56cd44c7ed5f2.rmeta --extern log=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\liblog-0732e599608426dc.rmeta --extern macro_rules_attribute=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libmacro_rules_attribute-d6a6fe21322c6961.rmeta --extern onig=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libonig-1b7f9afaabdee856.rmeta --extern paste=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\paste-b516c18b4ce34cc2.dll --extern rand=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\librand-c882cc5565a13117.rmeta --extern rayon=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\librayon-010cb5e7d360c6d0.rmeta --extern rayon_cond=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\librayon_cond-a7539ecd59941754.rmeta --extern regex=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libregex-dcd18ab3dba7dc6f.rmeta --extern regex_syntax=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libregex_syntax-1ef1589465bed9e4.rmeta --extern reqwest=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libreqwest-ca91f682f7b0cc90.rmeta --extern serde=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libserde-3709602740533bbe.rmeta --extern serde_json=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libserde_json-b4665092d75bf0e6.rmeta --extern spm_precompiled=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libspm_precompiled-0cc81c0ad0b959c4.rmeta --extern thiserror=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libthiserror-276edf5e01684b36.rmeta --extern unicode_normalization_alignments=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libunicode_normalization_alignments-b6072702c7b97158.rmeta --extern unicode_segmentation=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libunicode_segmentation-52e8ba07d47b2218.rmeta --extern unicode_categories=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\deps\libunicode_categories-269cc3186cf65989.rmeta -L native=C:\Users\Jens\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.52.5\lib -L native=C:\Users\Jens\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.48.5\lib -L native=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\build\bzip2-sys-8e33d1486dd260dc\out\lib -L native=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\build\zstd-sys-28a764d1a1fc93a1\out -L native=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\build\esaxx-rs-a3754e1e94bebb3f\out -L native=C:\Users\Jens\AppData\Local\Temp\pip-install-mn043gyl\tokenizers_3efec9c53252466cb7a041bfe539d2dd\target\release\build\onig_sys-9751de894f40e8ce\out
warning: variable does not need to be mutable
--> tokenizers-lib\src\models\unigram\model.rs:265:21
|
265 | let mut target_node = &mut best_path_ends_at[key_pos];
| ----^^^^^^^^^^^
| |
| help: remove this
mut
|
= note:
#[warn(unused_mut)]
on by defaultnote: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
I tried cloning the tokenizers directory, downloaded Rust and still can't see no light at the end of the tunnel, someone please tell me what I'm doing wrong and let me know if there is anything else I need to provide
Beta Was this translation helpful? Give feedback.
All reactions