-
Notifications
You must be signed in to change notification settings - Fork 681
Description
(venv) root@pc:/home/pc/SkyReels-V2-main# pip install -r requirements.txt
Collecting torch==2.5.1 (from -r requirements.txt (line 1))
Downloading torch-2.5.1-cp312-cp312-manylinux1_x86_64.whl.metadata (28 kB)
Collecting torchvision==0.20.1 (from -r requirements.txt (line 2))
Downloading torchvision-0.20.1-cp312-cp312-manylinux1_x86_64.whl.metadata (6.1 kB)
Collecting opencv-python==4.10.0.84 (from -r requirements.txt (line 3))
Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Collecting diffusers>=0.31.0 (from -r requirements.txt (line 4))
Downloading diffusers-0.35.1-py3-none-any.whl.metadata (20 kB)
Collecting transformers==4.49.0 (from -r requirements.txt (line 5))
Downloading transformers-4.49.0-py3-none-any.whl.metadata (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.0/44.0 kB 4.3 MB/s eta 0:00:00
Collecting tokenizers==0.21.1 (from -r requirements.txt (line 6))
Downloading tokenizers-0.21.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting accelerate==1.6.0 (from -r requirements.txt (line 7))
Downloading accelerate-1.6.0-py3-none-any.whl.metadata (19 kB)
Collecting tqdm (from -r requirements.txt (line 8))
Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.7/57.7 kB 215.3 kB/s eta 0:00:00
Collecting imageio (from -r requirements.txt (line 9))
Downloading imageio-2.37.0-py3-none-any.whl.metadata (5.2 kB)
Collecting easydict (from -r requirements.txt (line 10))
Downloading easydict-1.13-py3-none-any.whl.metadata (4.2 kB)
Collecting ftfy (from -r requirements.txt (line 11))
Downloading ftfy-6.3.1-py3-none-any.whl.metadata (7.3 kB)
Collecting dashscope (from -r requirements.txt (line 12))
Downloading dashscope-1.24.2-py3-none-any.whl.metadata (7.1 kB)
Collecting imageio-ffmpeg (from -r requirements.txt (line 13))
Downloading imageio_ffmpeg-0.6.0-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting flash_attn (from -r requirements.txt (line 14))
Downloading flash_attn-2.8.3.tar.gz (8.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.4/8.4 MB 60.8 kB/s eta 0:00:00
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
╰─> [20 lines of output]
Traceback (most recent call last):
File "/home/pc/SkyReels-V2-main/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/pc/SkyReels-V2-main/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pc/SkyReels-V2-main/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-hu0yzqox/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-hu0yzqox/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-hu0yzqox/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-hu0yzqox/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 22, in
ModuleNotFoundError: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
this is the error when i use pip install -r requirements.txt, how to fix it , thanks!