Huanshere / Huanshere/VideoLingo

It is can't setup in Windows 11 Pro :(

Open
#528 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18.5k
Forks
2k
Avg merge
7h 41m
Merged PRs (30d)
12

Description

Hello!
I try to install VideoLingo under Windows 11.

I installed miniconda Miniconda3-py310_25.11.1-1-Windows-x86_64.exe
Then i run following commands:

  1. git clone https://github.com/Huanshere/VideoLingo.git
  2. cd VideoLingo
  3. conda create -n videolingo python=3.10.0 -y
  4. conda activate videolingo
  5. python install.py

And after this command i have an error

`Collecting whisperx @ git+https://github.com/m-bain/whisperx.git@7307306a9d8dd0d261e588cc933322454f853853 (from VideoLingo==3.0.0)
Cloning https://github.com/m-bain/whisperx.git (to revision 7307306a9d8dd0d261e588cc933322454f853853) to C:\Users\Father\AppData\Local\Temp\pip-install-rlconehe\whisperx_5fcb9312fabd417aae54348db31a20c0
Running command git clone --filter=blob:none --quiet https://github.com/m-bain/whisperx.git 'C:\Users\Father\AppData\Local\Temp\pip-install-rlconehe\whisperx_5fcb9312fabd417aae54348db31a20c0'
Running command git rev-parse -q --verify 'sha^7307306a9d8dd0d261e588cc933322454f853853'
Running command git fetch -q https://github.com/m-bain/whisperx.git 7307306a9d8dd0d261e588cc933322454f853853
Running command git checkout -q 7307306a9d8dd0d261e588cc933322454f853853
Resolved https://github.com/m-bain/whisperx.git to commit 7307306a9d8dd0d261e588cc933322454f853853
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "C:\Users\Father.conda\envs\videolingo\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 389, in
main()
File "C:\Users\Father.conda\envs\videolingo\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "C:\Users\Father.conda\envs\videolingo\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\Father\AppData\Local\Temp\pip-build-env-obm9c29z\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\Father\AppData\Local\Temp\pip-build-env-obm9c29z\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "C:\Users\Father\AppData\Local\Temp\pip-build-env-obm9c29z\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Father\AppData\Local\Temp\pip-build-env-obm9c29z\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 4, in
ModuleNotFoundError: No module named 'pkg_resources'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'whisperx' when getting requirements to build wheel
Failed to install project: Command '['C:\Users\Father\.conda\envs\videolingo\python.exe', '-m', 'pip', 'install', '-e', '.']' returned non-zero exit status
1., retry: 1/0
Traceback (most recent call last):
File "G:\Projects\VideoLingo\install.py", line 182, in
main()
File "G:\Projects\VideoLingo\install.py", line 158, in main
install_requirements()
File "G:\Projects\VideoLingo\core\utils\decorator.py", line 24, in wrapper
raise last_exception
File "G:\Projects\VideoLingo\core\utils\decorator.py", line 17, in wrapper
return func(*args, **kwargs)
File "G:\Projects\VideoLingo\install.py", line 135, in install_requirements
subprocess.check_call([sys.executable, "-m", "pip", "install", "-e", "."], env={**os.environ, "PIP_NO_CACHE_DIR": "0", "PYTHONIOENCODING": "utf-8"})
File "C:\Users\Father.conda\envs\videolingo\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\Users\Father\.conda\envs\videolingo\python.exe', '-m', 'pip', 'install', '-e', '.']' returned non-zero exit status 1.
(videolingo) PS G:\Projects\VideoLingo>`

screenshot

I try conda install setuptools, pip install setuptools, pip3 install setuptools, pip install --upgrade setuptools
But it's all not help me.

What i do wrong and how to wix it? Please help, SOS.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with install.py, especially install_requirements(), and review core/utils/decorator.py where the installation error is retried and raised. Reproduce the Windows 11 setup using the listed Conda and pip commands, then inspect the whisperx build failure involving missing pkg_resources. Done means the documented installation completes successfully in the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.