Skip to content

Cannot install on Windows #1

Description

@ego-lay-atman-bay

Whenever I try to install the module on Windows (I haven't tried other linux or macos), I get this error

...
        File "C:\Users\USER\AppData\Local\Temp\pip-build-env-8etpywkk\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 502, in _build_extensions_serial
          self.build_extension(ext)
          ~~~~~~~~~~~~~~~~~~~~^^^^^
        File "<string>", line 87, in build_extension
        File "C:\python\Python313\Lib\subprocess.py", line 577, in run
          raise CalledProcessError(retcode, process.args,
                                   output=stdout, stderr=stderr)
      subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\USER\\AppData\\Local\\Temp\\pip-req-build-ngf73v65', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\USER\\AppData\\Local\\Temp\\pip-req-build-ngf73v65\\build\\lib.win-amd64-cpython-313\\pyvgmstream\\', '-DPYTHON_EXECUTABLE=C:\\python\\Python313\\python.exe', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyvgmstream
Failed to build pyvgmstream
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyvgmstream)

This happens in both a venv, and global install.

In case it helps, this is how I'm trying to install it

pip install git+https://github.com/hugeBlack/pyvgmstream

And I've only tried with python 3.11 to 3.13

Is there some way you could fix this? I just need to be able to decode a game audio file in python, and I can't find any other program to decode it besides vgmstream, and I'd rather use this than the cli.

Details

Also, how is it that it seems that not very many people have looked at this repo? It's linked in the official vgmstream repo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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