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

I can build for Windows, but it doesn't run #13

Open
benjie-git opened this issue Sep 13, 2024 · 1 comment
Open

I can build for Windows, but it doesn't run #13

benjie-git opened this issue Sep 13, 2024 · 1 comment

Comments

@benjie-git
Copy link

benjie-git commented Sep 13, 2024

I'm able to build lame from source, and then build streamp3, but when I attempt to import streamp3:

from streamp3 import MP3Decoder

I get the error:

ImportError: DLL Load failed while importing hip: The specified module could not be found.

This happens for me using Windows 10 and Windows 11, and when running on x64, and x64 emulation inside an arm64 VM, on latest python3.11 and 3.12.

@benjie-git benjie-git changed the title I can build for Windows, but it no longer runs on python3.12 I can build for Windows, but it doesn't run Sep 13, 2024
@benjie-git
Copy link
Author

benjie-git commented Sep 14, 2024

I finally figured out that I needed to copy the libmp3lame.dll file into pip's site-packages/lame/ directory, alongside hip.cp312-win_amd64.pyd. Now it loads and works!

This should probably be added either to the build process or the docs.

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