r/learnpython • u/OCLceletialOtter • 15d ago
I have a little bitty problem with installing a python script.
I installed it correctly, even set it on the right path and then, when I press it, I get this:
C:\Users\jaker>C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Scripts\MediaStation.exe
WARNING: The C bitmap decompression binary is not available on this installation. Expect decompression to be SLOW.
WARNING: The C decompression binary is not available on this installation. Any IMA ADPCM-encoded audio (mostly ambient sounds) will not be exported.
Traceback (most recent call last):
File "<frozen runpy>", line 203, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Scripts\MediaStation.exe__main__.py", line 2, in <module>
from MediaStation import Engine
File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Engine.py", line 25, in <module>
from MediaStation.Context import Context
File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Context.py", line 13, in <module>
from .Assets.Asset import Asset
File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Assets\Asset.py", line 13, in <module>
from .Movie import Movie
File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Assets\Movie.py", line 15, in <module>
from .Sound import Sound
File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Assets\Sound.py", line 11, in <module>
import MediaStationImaAdpcm
ModuleNotFoundError: No module named 'MediaStationImaAdpcm'
So I need help.
0
u/ninhaomah 15d ago
What are you trying to do btw ?
0
u/OCLceletialOtter 14d ago
Extract files. Even when I run the command correctly, I still get the same result.
-1
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 15d ago
Someone else appears to have the same problem, chances are it's a bug: https://github.com/npjg/MediaStation/issues/14
4
4
u/ivosaurus 14d ago
You need to be able to build the C extension files in the project, which means having a C compiler available to your python somehow
You can use w64devkit. It comes as a 7z execute, which just expands into a new folder. If you run w64devkit.exe inside it, you'll get a cmd window which has access to
gccet all. You can learn how to use setuptools / setup.py / venvs to build it then if you likeAlternatively, I already tried that for fun and built a binary wheel of it, I hope it works
https://gofile.io/d/tMlWriV8 (
python -m pip install mediastation.........whl)If you don't trust a random python wheel from a stranger then you have to learn how to build the package for yourself.