Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.09k stars 1.51k forks source link

Cant install using Python 3.12 #2066

Open greenozon opened 7 months ago

greenozon commented 7 months ago

Can't install the package using Python 3.12 on Windows

Expected Behavior

Success in installing using Python 3.12

Actual Behavior

>pip install moviepy
Collecting moviepy
  Using cached moviepy-1.0.3.tar.gz (388 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting decorator<5.0,>=4.0.2 (from moviepy)
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting tqdm<5.0,>=4.11.2 (from moviepy)
  Using cached tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)
Collecting requests<3.0,>=2.8.1 (from moviepy)
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting proglog<=1.0.0 (from moviepy)
  Using cached proglog-0.1.10-py3-none-any.whl (6.1 kB)
Collecting numpy>=1.17.3 (from moviepy)
  Using cached numpy-1.26.1-cp312-cp312-win_amd64.whl.metadata (61 kB)
Collecting imageio<3.0,>=2.5 (from moviepy)
  Using cached imageio-2.32.0-py3-none-any.whl.metadata (4.9 kB)
Collecting imageio-ffmpeg>=0.2.0 (from moviepy)
  Using cached imageio_ffmpeg-0.4.9-py3-none-win_amd64.whl.metadata (1.7 kB)
Collecting pillow<10.1.0,>=8.3.2 (from imageio<3.0,>=2.5->moviepy)
  Using cached Pillow-10.0.1-cp312-cp312-win_amd64.whl.metadata (9.6 kB)
Collecting setuptools (from imageio-ffmpeg>=0.2.0->moviepy)
  Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
Collecting charset-normalizer<4,>=2 (from requests<3.0,>=2.8.1->moviepy)
  Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests<3.0,>=2.8.1->moviepy)
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3.0,>=2.8.1->moviepy)
  Using cached urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Collecting certifi>=2017.4.17 (from requests<3.0,>=2.8.1->moviepy)
  Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting colorama (from tqdm<5.0,>=4.11.2->moviepy)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached imageio-2.32.0-py3-none-any.whl (313 kB)
Using cached imageio_ffmpeg-0.4.9-py3-none-win_amd64.whl (22.6 MB)
Using cached numpy-1.26.1-cp312-cp312-win_amd64.whl (15.5 MB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB)
Using cached Pillow-10.0.1-cp312-cp312-win_amd64.whl (2.5 MB)
Using cached urllib3-2.0.7-py3-none-any.whl (124 kB)
Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
Building wheels for collected packages: moviepy
  Building wheel for moviepy (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for moviepy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [223 lines of output]
      running bdist_wheel

.............

      error: [WinError 87] The parameter is incorrect
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for moviepy
Failed to build moviepy
ERROR: Could not build wheels for moviepy, which is required to install pyproject.toml-based projects

Specifications