Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install on windows #12

Open
damp11113 opened this issue Dec 19, 2023 · 0 comments
Open

can't install on windows #12

damp11113 opened this issue Dec 19, 2023 · 0 comments

Comments

@damp11113
Copy link

damp11113 commented Dec 19, 2023

I try to install 2 ways to install streamp3 with pip install streamp3 and pip install git+https://github.com/pylon/streamp3.git the output is same

pip install streamp3

Collecting streamp3
  Using cached streamp3-0.1.12.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting Cython==0.29.34 (from streamp3)
  Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB)
Building wheels for collected packages: streamp3
  Building wheel for streamp3 (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for streamp3 (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      C:\Users\sansw\AppData\Local\Temp\pip-build-env-yuskdla8\overlay\Lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\sansw\AppData\Local\Temp\pip-install-aq79hh4l\streamp3_3f29ff21c0b24ca4baf45807365b106e\lame\hip.pyx
        tree = Parsing.p_module(s, pxd, full_module_name)
      hip.c
      lame\hip.c(750): fatal error C1083: Cannot open include file: 'lame/lame.h': No such file or directory
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

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

and pip install git+https://github.com/pylon/streamp3.git

Collecting git+https://github.com/pylon/streamp3.git
  Cloning https://github.com/pylon/streamp3.git to c:\users\sansw\appdata\local\temp\pip-req-build-xsls5vu9
  Running command git clone --filter=blob:none --quiet https://github.com/pylon/streamp3.git 'C:\Users\sansw\AppData\Local\Temp\pip-req-build-xsls5vu9'
  Resolved https://github.com/pylon/streamp3.git to commit 3c33a4a0cbfdd26b3d83cf27bf19b71bd381bea2
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting Cython==0.29.34 (from streamp3==0.1.12)
  Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB)
Building wheels for collected packages: streamp3
  Building wheel for streamp3 (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for streamp3 (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      C:\Users\sansw\AppData\Local\Temp\pip-build-env-vlgg4hbv\overlay\Lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\sansw\AppData\Local\Temp\pip-req-build-xsls5vu9\lame\hip.pyx
        tree = Parsing.p_module(s, pxd, full_module_name)
      hip.c
      lame\hip.c(750): fatal error C1083: Cannot open include file: 'lame/lame.h': No such file or directory
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for streamp3
Failed to build streamp3
ERROR: Could not build wheels for streamp3, which is required to install pyproject.toml-based projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant