Skip to content

Unable to install ffsubsync on Windows due to error in building faust-cchardet #216

@Mindstormer619

Description

@Mindstormer619

Environment (please complete the following information):

  • OS: Windows 10
  • python version (python --version) Python 3.13.5
  • subsync version (subsync --version) N/A

Describe the bug

Unable to install ffsubsync on Windows. It fails while building faust-cchardet.

To Reproduce
uv pip install ffsubsync

Expected behavior

ffsubsync installs without error.

Output

Resolved 19 packages in 4.26s
      Built auditok==0.1.5
      Built srt==3.5.3
  × Failed to build `faust-cchardet==2.1.19`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit code: 1)

      [stdout]
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-313\cchardet
      copying src\cchardet\version.py -> build\lib.win-amd64-cpython-313\cchardet
      copying src\cchardet\__init__.py -> build\lib.win-amd64-cpython-313\cchardet
      running build_ext
      building 'cchardet._cchardet' extension

      [stderr]
      C:\Users\minds\AppData\Local\uv\cache\builds-v0\.tmp7lDVHU\Lib\site-packages\setuptools\dist.py:759:
      SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license
      expression:

              License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
              License :: OSI Approved :: GNU General Public License (GPL)
              License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
      for details.
              ********************************************************************************

      !!
        self._finalize_license_expression()
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build
      Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

      hint: This usually indicates a problem with the package or the build environment.
  help: `faust-cchardet` (v2.1.19) was included because `ffsubsync` (v0.4.29) depends on
        `faust-cchardet`

Additional context

I'm currently using uv pip to install it, though I don't think this should create any problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions