Skip to content

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

@awe007

Description

@awe007

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions