TeamPyOgg / PyOgg

Simple OGG Vorbis, Opus and FLAC bindings for Python
The Unlicense
63 stars 27 forks source link

issue loading libs when using 32bit python on 64bit windows #105

Open LeiYangGH opened 1 year ago

LeiYangGH commented 1 year ago

i'm using 64bit windows(11), but using 32 bit python(3.8). when running it will report

raise PyOggError("The OpusFile library wasn't found or couldn't be loaded (maybe you're trying to use 64bit libraries with 32bit Python?)")
pyogg.pyogg_error.PyOggError: The OpusFile library wasn't found or couldn't be loaded (maybe you're trying to use 64bit libraries with 32bit Python?)

if i install pyogg in a 64 bit python, then no error. or after install if i copy all files from PyOgg\pyogg\libs\win32 to Lib\site-packages\pyogg\libs\win32 with overwrite, then i can run code. i think there's some issue in the setup configuration. to avoid confusion, i'm installing from latest github source.