llvm jitdebug error with Spleeter 2.3.0 using Python 3.7.4 on Windows
- Dominant language
- Python
- Stars
- 28.4k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
After upgrade to Spleeter 2.3.0 using Python 3.7.4 (windows 10-64bit) i get an error when i try to spleet.
The final lines of the error are as follows..
```
File "C:\Users\chris\AppData\Roaming\SpleeterGUI\python\Lib\site-packages\numba\core\codegen.py", line 654, in _init
tm = target.create_target_machine(**tm_options)
TypeError: create_target_machine() got an unexpected keyword argument 'jitdebug'
```
**I found a solution which is to downgrade llvm.**
`pip install -U llvmlite==0.32.1`
```
spleeter 2.3.0 has requirement llvmlite<0.37.0,>=0.36.0, but you'll have llvmlite 0.32.1 which is incompatible.
Found existing installation: llvmlite 0.36.0
Successfully installed llvmlite-0.32.1
```
After the downgrade i can spleet once more. I'm not well enough versed with python to debug further. maybe a newer version of llvm could also work.
cheers ;)
Contributor guide
Research direction
Reproduce the failure on Windows 10 64-bit with Spleeter 2.3.0 and Python 3.7.4, then inspect the traceback location in site-packages/numba/core/codegen.py at line 654. Check the installed llvmlite and LLVM versions against Spleeter's declared requirement. Done means the reported workflow runs without the jitdebug TypeError using a supported dependency combination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100