Skip to content

Errors #131

@appbuilder89

Description

@appbuilder89
  1. PS D:\Git\SkyReels-V2> pip install -r requirements.txt
    ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from versions: 2.6.0, 2.7.0, 2.7.1, 2.8.0)
    ERROR: No matching distribution found for torch==2.5.1
    PS D:\Git\SkyReels-V2>

  2. if we remove version from requirements then also showing errors
    Requirement already satisfied: imageio-ffmpeg in c:\users\ugant\appdata\local\programs\python\python313\lib\site-packages (from -r requirements.txt (line 13)) (0.6.0)
    Collecting flash_attn (from -r requirements.txt (line 14))
    Using cached flash_attn-2.8.3.tar.gz (8.4 MB)
    Preparing metadata (setup.py) ... error
    error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
C:\Users\AppData\Local\Temp\pip-install-vbtsywc9\flash-attn_a320292273ef4046baa3be0c4a918fc4\setup.py:106: UserWarning: flash_attn was requested, but nvcc was not found. Are you sure your environment has nvcc available? If you're installing within a container from https://hub.docker.com/r/pytorch/pytorch, only images whose names contain 'devel' will provide nvcc.
warnings.warn(
Traceback (most recent call last):
File "", line 2, in
exec(compile('''
~~~~^^^^^^^^^^^^
# This is -- a caller that pip uses to run setup.py
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<32 lines>...
exec(compile(setup_py_code, filename, "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
''' % ('C:\Users\AppData\Local\Temp\pip-install-vbtsywc9\flash-attn_a320292273ef4046baa3be0c4a918fc4\setup.py',), "", "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 35, in
File "C:\Users\AppData\Local\Temp\pip-install-vbtsywc9\flash-attn_a320292273ef4046baa3be0c4a918fc4\setup.py", line 227, in
CUDAExtension(
~~~~~~~~~~~~~^
name="flash_attn_2_cuda",
^^^^^^^^^^^^^^^^^^^^^^^^^
...<83 lines>...
],
^^
)
^
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\site-packages\torch\utils\cpp_extension.py", line 1337, in CUDAExtension
library_dirs += library_paths(device_type="cuda")
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\site-packages\torch\utils\cpp_extension.py", line 1555, in library_paths
paths.append(_join_cuda_home(lib_dir))
~~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python313\Lib\site-packages\torch\utils\cpp_extension.py", line 2982, in _join_cuda_home
raise OSError('CUDA_HOME environment variable is not set. '
'Please set it to your CUDA install root.')
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

  torch.__version__  = 2.8.0+cpu


  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS D:\Git\SkyReels-V2>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions