deezer / deezer/spleeter

[Discussion] how to use spleeter with pyinstaller

Open
#791 1 comment 2 reactions 0 assignees View on GitHub
question
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

![1](https://user-images.githubusercontent.com/7504238/192150112-ab653b73-b95f-45da-a130-a5774173b600.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.