Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I run install_env.bat, I get the error: "There are special characters in the current path, please make the path of fish-speech free of special characters before running." I attempted to fix this issue but it just led to another issue. Details below: #800

Open
6 tasks done
Tezozomoctli opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Tezozomoctli
Copy link

Tezozomoctli commented Jan 3, 2025

Self Checks

  • This template is only for bug reports. For questions, please visit Discussions.
  • I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
  • I have searched for existing issues, including closed ones. Search issues
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template and fill in all required fields.

Cloud or Self Hosted

Self Hosted (Source)

Environment Details

Using a Windows PC.

Steps to Reproduce

When I run install_env.bat, I get the error:

"HF_ENDPOINT: https://hf-mirror.com"

"NO_PROXY: localhost, 127.0.0.1, 0.0.0.0"

There are special characters in the current path, please make the path of fish-speech free of special characters before running.

Press any key to continue . . .

So, not really knowing what to do, I just opened the install_env.bat file in notepad, saw bunch of special characters in these brackets:

`echo "%CD%"| findstr /R /C:"[ !#$%&()*+,;<=>?@[]^{|}~\u4E00-\u9FFF ] " >nul && (``

And I just deleted all the characters in the bracket leaving just:

echo "%CD%"| findstr /R /C:"[ ] " >nul && (

Saved the bat file and ran install_env.bat again and actually started to run properly!

BUT, then a new issue emerged:

Active code page: 65001

"USE_MIRROR: true"

"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\libnvvp;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\mahtl\AppData\Local\Programs\Python\Python310;C:\Users\alher\AppData\Local\Programs\Python\Python310\Scripts;C:\Program Files\NVIDIA Corporation\Nsight Compute 2024.3.0\;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA app\NvDLISR;C:\Users\alher\Documents\ffmpeg\ffmpeg_folder\bin;C:\miniconda3\condabin;;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Users\alher\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\alher\AppData\Local\Programs\Python\Python310\;C:\Users\alher\AppData\Local\Microsoft\WindowsApps;";C:\WINDOWS\system32

'"C:\Users\mahtl\Voice"' is not recognized as an internal or external command,

operable program or batch file.

Could Not Find C:\Users\mahtl\Voice

successfully create env.

"HF_ENDPOINT: https://hf-mirror.com"

"NO_PROXY: localhost,127.0.0.1,0.0.0.0"

'C:\Users\mahtl\Voice' is not recognized as an internal or external command,

operable program or batch file.

'C:\Users\mahtl\Voice' is not recognized as an internal or external command,

operable program or batch file.

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 1162 100 1162 0 0 1465 0 --:--:-- --:--:-- --:--:-- 1469

100 530M 100 530M 0 0 24.4M 0 0:00:21 0:00:21 --:--:-- 24.7M

"OK for "triton_windows-0.1.0-py3-none-any.whl""

'C:\Users\mahtl\Voice' is not recognized as an internal or external command,

operable program or batch file.

"Environment Check: Success."

Press any key to continue . . .

Something tells me the solution to this issue is simply copying a file path somewhere and pasting it into the proper place in the install_env.bat file. Just a wild guess.

I have no idea what I am doing. I am certain there is a simple solution to this and I just did something dumb.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@Tezozomoctli Tezozomoctli added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant