[Discussion] how to use spleeter with pyinstaller
- Dominant language
- Python
- Stars
- 28.4k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
i want to export a python project with pyinstaller but this error occurs
this is the code for the project Note the project is working before exporting to exe
```
from spleeter.separator import Separator
if __name__ == '__main__':
separator = Separator('spleeter:2stems')
separator.separate_to_file('./my_song.mp3', './output')
```
and i copied librosa lib folder from python\Lib\site-packages to the dist folder
when i export it to exe and run it this error showed

Contributor guide
Research direction
Start by reproducing the PyInstaller export with the provided Python entry point using spleeter.separator.Separator and separator.separate_to_file. Inspect the runtime error shown in the linked screenshot and compare the generated dist folder with the working project. Done means the exported executable runs the separation workflow successfully, but the issue does not provide enough error detail to define a precise fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100