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

"ook" is not recognized as an internal or external command, operable program or batch file. #6520

Open
1 task done
SculptorGoldenMoon opened this issue Nov 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SculptorGoldenMoon
Copy link

Describe the bug

When running the file "start_windows.bat". It says that the OK command is unrecognized. When running the .bat again:


*You haven't downloaded any model yet.

  • Once the web UI launches, head over to the "Model" tab and download one.

Press any key to continue. . .

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

I download the archive from the link https://github.com/oobabooga/text-generation-webui. I unpack the archive into a folder.
When running the file "start_windows.bat" as administrator.

I select NVIDIA and the NO option because the version of "CUDA" is NVIDIA CUDA 12.6.65 driver.
But after the entire installation, an error appears: ""ook" is not recognized as an internal or external command, operable program or batch file."

I tried to install "ook" manually with the command pip install ook. The command output is.
Requirement already satisfied: ook in c:\users\me\appdata\local\programs\python\python310\lib\site-packages (1.0.2) Requirement already satisfied: six in c:\users\me\appdata\local\ programs\python\python310\lib\site-packages (from ook) (1.16.0) .When reinstalling, the same thing happens When you run the file again: " start_windows.bat" It comes out as follows


*You haven't downloaded any model yet.

  • Once the web UI launches, head over to the "Model" tab and download one.

Press any key to continue. . .

The entire installation file is attached.

Screenshot

LOGS.txt

Logs

Attached is a report file for the entire installation

System Info

Windows 10 64-bit
PCI Express 3.0 x16: nVIDIA GeForce GTX 1050 Ti / NVIDIA CUDA 12.6.65 driver

CPU 14-Core Intel Xeon E5-2680 v4, 2400 MHz (24 x 100)
16GB RAM
@SculptorGoldenMoon SculptorGoldenMoon added the bug Something isn't working label Nov 10, 2024
@SculptorGoldenMoon
Copy link
Author

SculptorGoldenMoon commented Nov 11, 2024

Added PATH to the OKK library variable (C:\users%UserNAME%\appdata\local\programs\python\python310\lib\site-package)

After reinstallation, an error started to appear

Downloading py_cpuinfo-9.0.0-py3-none-any.whl.metadata (794 bytes)
Downloading py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)
Installing collected packages: py-cpuinfo
Successfully installed py-cpuinfo-9.0.0
Initialized empty Git repository in D:/SOFT/text-generation-webui-main/.git/
remote: Enumerating objects: 19345, done.
remote: Counting objects: 100% (319/319), done.
remote: Compressing objects: 100% (146/146), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 1064 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Command '"D:\SOFT\text-generation-webui-main\installer_files\conda\condabin\conda.bat" activate "D:\SOFT\text-generation-webui-main\installer_files\env" >nul && git init -b main && git remote add origin https://github.com/oobabooga/text-generation-webui && git fetch && git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main && git reset --hard origin/main && git branch --set-upstream-to=origin/main' failed with exit status code '128'.
Exiting now.
Try running the start/update script again.

Launched CMD as administrator, went to my directory D:\SOFT\text-generation-webui-main
python -m venv venv
venv\Scripts\activate
pip install PyYAML

****Collecting PyYAML
Downloading PyYAML-6.0.2-cp310-cp310-win_amd64.whl (161 kB)
---------------------------------------- 161.8/161.8 kB 1.6 MB/s eta 0:00:00
Installing collected packages: PyYAML
Successfully installed PyYAML-6.0.2

[notice] A new release of pip available: 22.2.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip**

And still get an error**

Traceback (most recent call last):
File "D:\SOFT\text-generation-webui-main\server.py", line 4, in
from modules import shared
File "D:\SOFT\text-generation-webui-main\modules\shared.py", line 8, in
import yaml
ModuleNotFoundError: No module named 'yaml'
Press any key to continue . . .

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