deezer / spleeter

Deezer source separation library including pretrained models.
https://research.deezer.com/projects/spleeter.html
MIT License
25.86k stars 2.84k forks source link

build crashes: "Fatal Python error: Illegal instruction" #539

Closed ensonic closed 3 years ago

ensonic commented 3 years ago

Description

The build crashes. Are you requiring SSE4.x instructions? Maybe worth a check and/or FAQ entry?

Step to reproduce

Followed the steps in https://github.com/deezer/spleeter#development-and-testing (replacing python with python3 and pip with pip3). See full log below.

Environment

OS Linux
Installation type git
RAM available 8Gb
Hardware spec CPU (AMD Phenom II X6 1090T

Additional context

git clone https://github.com/deezer/spleeter.git
Klone nach 'spleeter' ...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 1987 (delta 10), reused 13 (delta 6), pack-reused 1967
Empfange Objekte: 100% (1987/1987), 8.89 MiB | 3.15 MiB/s, Fertig.
Löse Unterschiede auf: 100% (1263/1263), Fertig.
 ensonic  ~  projects  audio  cd spleeter/
 ensonic   master  ~  projects  audio  spleeter  python -m venv spleeterenv && source spleeterenv/bin/activate
/usr/bin/python: No module named venv
 ensonic   master  ~  projects  audio  spleeter  1  python3 -m venv spleeterenv && source spleeterenv/bin/activate
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  pip3 install . && pip3 install pytest pytest-xdist
Processing /home/ensonic/projects/audio/spleeter
Collecting ffmpeg-python==0.2.0
  Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting norbert==0.2.1
  Downloading norbert-0.2.1-py2.py3-none-any.whl (11 kB)
Collecting numpy<1.19.0,>=1.16.0
  Downloading numpy-1.18.5-cp38-cp38-manylinux1_x86_64.whl (20.6 MB)
     |████████████████████████████████| 20.6 MB 7.3 MB/s 
Collecting pandas==1.1.2
  Downloading pandas-1.1.2-cp38-cp38-manylinux1_x86_64.whl (10.4 MB)
     |████████████████████████████████| 10.4 MB 6.2 MB/s 
Collecting requests
  Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 907 kB/s 
Collecting scipy==1.4.1
  Downloading scipy-1.4.1-cp38-cp38-manylinux1_x86_64.whl (26.0 MB)
     |████████████████████████████████| 26.0 MB 7.4 MB/s 
Requirement already satisfied: setuptools>=41.0.0 in ./spleeterenv/lib/python3.8/site-packages (from spleeter==2.0.2) (49.2.1)
Collecting librosa==0.8.0
  Downloading librosa-0.8.0.tar.gz (183 kB)
     |████████████████████████████████| 183 kB 4.5 MB/s 
Collecting tensorflow==2.3.0
  Downloading tensorflow-2.3.0-cp38-cp38-manylinux2010_x86_64.whl (320.5 MB)
     |████████████████████████████████| 320.5 MB 509 bytes/s 
Collecting future
  Downloading future-0.18.2.tar.gz (829 kB)
     |████████████████████████████████| 829 kB 1.4 MB/s 
Collecting python-dateutil>=2.7.3
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 2.5 MB/s 
Collecting pytz>=2017.2
  Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB)
     |████████████████████████████████| 509 kB 1.6 MB/s 
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
     |████████████████████████████████| 136 kB 1.2 MB/s 
Collecting idna<3,>=2.5
  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 350 kB/s 
Collecting chardet<5,>=3.0.2
  Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
     |████████████████████████████████| 178 kB 285 kB/s 
Collecting certifi>=2017.4.17
  Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
     |████████████████████████████████| 147 kB 11 kB/s 
Collecting audioread>=2.0.0
  Downloading audioread-2.1.9.tar.gz (377 kB)
     |████████████████████████████████| 377 kB 250 kB/s 
Collecting scikit-learn!=0.19.0,>=0.14.0
  Downloading scikit_learn-0.23.2-cp38-cp38-manylinux1_x86_64.whl (6.8 MB)
     |████████████████████████████████| 6.8 MB 3.7 MB/s 
Collecting joblib>=0.14
  Downloading joblib-1.0.0-py3-none-any.whl (302 kB)
     |████████████████████████████████| 302 kB 3.0 MB/s 
Collecting decorator>=3.0.0
  Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting resampy>=0.2.2
  Downloading resampy-0.2.2.tar.gz (323 kB)
     |████████████████████████████████| 323 kB 4.3 MB/s 
Collecting numba>=0.43.0
  Downloading numba-0.52.0-cp38-cp38-manylinux2014_x86_64.whl (3.2 MB)
     |████████████████████████████████| 3.2 MB 4.4 MB/s 
Collecting soundfile>=0.9.0
  Downloading SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB)
Collecting pooch>=1.0
  Downloading pooch-1.3.0-py3-none-any.whl (51 kB)
     |████████████████████████████████| 51 kB 71 kB/s 
Collecting tensorboard<3,>=2.3.0
  Downloading tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
     |████████████████████████████████| 10.6 MB 134 kB/s 
Collecting protobuf>=3.9.2
  Downloading protobuf-3.14.0-cp38-cp38-manylinux1_x86_64.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 6.4 MB/s 
Collecting keras-preprocessing<1.2,>=1.1.1
  Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
     |████████████████████████████████| 42 kB 208 kB/s 
Collecting google-pasta>=0.1.8
  Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 867 kB/s 
Collecting gast==0.3.3
  Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting six>=1.12.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting grpcio>=1.8.6
  Downloading grpcio-1.34.0-cp38-cp38-manylinux2014_x86_64.whl (4.0 MB)
     |████████████████████████████████| 4.0 MB 4.7 MB/s 
Collecting opt-einsum>=2.3.2
  Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
     |████████████████████████████████| 65 kB 672 kB/s 
Collecting wrapt>=1.11.1
  Downloading wrapt-1.12.1.tar.gz (27 kB)
Collecting termcolor>=1.1.0
  Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting absl-py>=0.7.0
  Downloading absl_py-0.11.0-py3-none-any.whl (127 kB)
     |████████████████████████████████| 127 kB 6.3 MB/s 
Collecting wheel>=0.26
  Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting h5py<2.11.0,>=2.10.0
  Downloading h5py-2.10.0-cp38-cp38-manylinux1_x86_64.whl (2.9 MB)
     |████████████████████████████████| 2.9 MB 5.6 MB/s 
Collecting astunparse==1.6.3
  Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting tensorflow-estimator<2.4.0,>=2.3.0
  Downloading tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
     |████████████████████████████████| 459 kB 6.1 MB/s 
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
Collecting llvmlite<0.36,>=0.35.0
  Downloading llvmlite-0.35.0-cp38-cp38-manylinux2010_x86_64.whl (25.3 MB)
     |████████████████████████████████| 25.3 MB 145 kB/s 
Collecting cffi>=1.0
  Downloading cffi-1.14.4-cp38-cp38-manylinux1_x86_64.whl (411 kB)
     |████████████████████████████████| 411 kB 7.4 MB/s 
Collecting appdirs
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting packaging
  Downloading packaging-20.8-py2.py3-none-any.whl (39 kB)
Collecting tensorboard-plugin-wit>=1.6.0
  Downloading tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB)
     |████████████████████████████████| 779 kB 9.2 MB/s 
Collecting google-auth<2,>=1.6.3
  Downloading google_auth-1.24.0-py2.py3-none-any.whl (114 kB)
     |████████████████████████████████| 114 kB 8.9 MB/s 
Collecting werkzeug>=0.11.15
  Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
     |████████████████████████████████| 298 kB 9.4 MB/s 
Collecting markdown>=2.6.8
  Downloading Markdown-3.3.3-py3-none-any.whl (96 kB)
     |████████████████████████████████| 96 kB 898 kB/s 
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Downloading google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting pycparser
  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB 7.9 MB/s 
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 885 kB/s 
Collecting rsa<5,>=3.1.4; python_version >= "3.6"
  Downloading rsa-4.6-py3-none-any.whl (47 kB)
     |████████████████████████████████| 47 kB 749 kB/s 
Collecting pyasn1-modules>=0.2.1
  Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
     |████████████████████████████████| 155 kB 2.2 MB/s 
Collecting cachetools<5.0,>=2.0.0
  Downloading cachetools-4.2.0-py3-none-any.whl (12 kB)
Collecting requests-oauthlib>=0.7.0
  Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting pyasn1>=0.1.3
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     |████████████████████████████████| 77 kB 950 kB/s 
Collecting oauthlib>=3.0.0
  Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
     |████████████████████████████████| 147 kB 2.2 MB/s 
Using legacy 'setup.py install' for spleeter, since package 'wheel' is not installed.
Using legacy 'setup.py install' for librosa, since package 'wheel' is not installed.
Using legacy 'setup.py install' for future, since package 'wheel' is not installed.
Using legacy 'setup.py install' for audioread, since package 'wheel' is not installed.
Using legacy 'setup.py install' for resampy, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wrapt, since package 'wheel' is not installed.
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: future, ffmpeg-python, numpy, scipy, norbert, six, python-dateutil, pytz, pandas, urllib3, idna, chardet, certifi, requests, audioread, joblib, threadpoolctl, scikit-learn, decorator, llvmlite, numba, resampy, pycparser, cffi, soundfile, appdirs, pyparsing, packaging, pooch, librosa, protobuf, wheel, absl-py, tensorboard-plugin-wit, grpcio, pyasn1, rsa, pyasn1-modules, cachetools, google-auth, werkzeug, markdown, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard, keras-preprocessing, google-pasta, gast, opt-einsum, wrapt, termcolor, h5py, astunparse, tensorflow-estimator, tensorflow, spleeter
    Running setup.py install for future ... done
    Running setup.py install for audioread ... done
    Running setup.py install for resampy ... done
    Running setup.py install for librosa ... done
    Running setup.py install for wrapt ... done
    Running setup.py install for termcolor ... done
    Running setup.py install for spleeter ... done
Successfully installed absl-py-0.11.0 appdirs-1.4.4 astunparse-1.6.3 audioread-2.1.9 cachetools-4.2.0 certifi-2020.12.5 cffi-1.14.4 chardet-4.0.0 decorator-4.4.2 ffmpeg-python-0.2.0 future-0.18.2 gast-0.3.3 google-auth-1.24.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.34.0 h5py-2.10.0 idna-2.10 joblib-1.0.0 keras-preprocessing-1.1.2 librosa-0.8.0 llvmlite-0.35.0 markdown-3.3.3 norbert-0.2.1 numba-0.52.0 numpy-1.18.5 oauthlib-3.1.0 opt-einsum-3.3.0 packaging-20.8 pandas-1.1.2 pooch-1.3.0 protobuf-3.14.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pyparsing-2.4.7 python-dateutil-2.8.1 pytz-2020.4 requests-2.25.1 requests-oauthlib-1.3.0 resampy-0.2.2 rsa-4.6 scikit-learn-0.23.2 scipy-1.4.1 six-1.15.0 soundfile-0.10.3.post1 spleeter-2.0.2 tensorboard-2.4.0 tensorboard-plugin-wit-1.7.0 tensorflow-2.3.0 tensorflow-estimator-2.3.0 termcolor-1.1.0 threadpoolctl-2.1.0 urllib3-1.26.2 werkzeug-1.0.1 wheel-0.36.2 wrapt-1.12.1
WARNING: You are using pip version 20.2.1; however, version 20.3.3 is available.
You should consider upgrading via the '/home/ensonic/projects/audio/spleeter/spleeterenv/bin/python3 -m pip install --upgrade pip' command.
Collecting pytest
  Downloading pytest-6.2.1-py3-none-any.whl (279 kB)
     |████████████████████████████████| 279 kB 2.0 MB/s 
Collecting pytest-xdist
  Downloading pytest_xdist-2.2.0-py3-none-any.whl (36 kB)
Requirement already satisfied: packaging in ./spleeterenv/lib/python3.8/site-packages (from pytest) (20.8)
Collecting iniconfig
  Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting py>=1.8.2
  Downloading py-1.10.0-py2.py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 1.2 MB/s 
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting pluggy<1.0.0a1,>=0.12
  Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting attrs>=19.2.0
  Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
     |████████████████████████████████| 49 kB 703 kB/s 
Collecting execnet>=1.1
  Downloading execnet-1.7.1-py2.py3-none-any.whl (39 kB)
Collecting pytest-forked
  Downloading pytest_forked-1.3.0-py2.py3-none-any.whl (4.7 kB)
Requirement already satisfied: pyparsing>=2.0.2 in ./spleeterenv/lib/python3.8/site-packages (from packaging->pytest) (2.4.7)
Collecting apipkg>=1.4
  Downloading apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
Installing collected packages: iniconfig, py, toml, pluggy, attrs, pytest, apipkg, execnet, pytest-forked, pytest-xdist
Successfully installed apipkg-1.5 attrs-20.3.0 execnet-1.7.1 iniconfig-1.1.1 pluggy-0.13.1 py-1.10.0 pytest-6.2.1 pytest-forked-1.3.0 pytest-xdist-2.2.0 toml-0.10.2
WARNING: You are using pip version 20.2.1; however, version 20.3.3 is available.
You should consider upgrading via the '/home/ensonic/projects/audio/spleeter/spleeterenv/bin/python3 -m pip install --upgrade pip' command.
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  make test
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked tests/
===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.8.6, pytest-6.2.1, py-1.10.0, pluggy-0.13.1 -- /home/ensonic/projects/audio/spleeter/spleeterenv/bin/python3
cachedir: .pytest_cache
rootdir: /home/ensonic/projects/audio/spleeter
plugins: forked-1.3.0, xdist-2.2.0
collecting ... Fatal Python error: Illegal instruction

Current thread 0x00007f0584e96740 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1101 in create_module
  File "<frozen importlib._bootstrap>", line 556 in module_from_spec
  File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/pywrap_tfe.py", line 28 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/eager/context.py", line 35 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/__init__.py", line 40 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 961 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/__init__.py", line 41 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/ensonic/projects/audio/spleeter/tests/test_eval.py", line 19 in <module>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 1014 in _gcd_import
  File "/usr/lib64/python3.8/importlib/__init__.py", line 127 in import_module
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/pathlib.py", line 531 in import_path
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 578 in _importtestmodule
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 500 in _getobj
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 291 in obj
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 516 in _inject_setup_module_fixture
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 503 in collect
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 341 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 311 in from_call
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 341 in pytest_make_collect_report
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 458 in collect_one_node
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 808 in genitems
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 811 in genitems
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 634 in perform_collect
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 333 in pytest_collection
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 322 in _main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 269 in wrap_session
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/config/__init__.py", line 162 in main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/config/__init__.py", line 185 in console_main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/bin/pytest", line 8 in <module>
make: *** [Makefile:30: test] Illegal instruction (Speicherauszug erstellt)
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  2  ll
insgesamt 428
-rw-r--r-- 1 ensonic users  87716 21. Dez 11:50 audio_example_mono.mp3
-rw-r--r-- 1 ensonic users 262867 21. Dez 11:50 audio_example.mp3
-rw-r--r-- 1 ensonic users   1140 21. Dez 11:50 CHANGELOG.md
drwxr-xr-x 3 ensonic users   4096 21. Dez 11:50 conda
drwxr-xr-x 5 ensonic users   4096 21. Dez 11:50 configs
drwxr-xr-x 2 ensonic users   4096 21. Dez 11:50 docker
drwxr-xr-x 2 ensonic users   4096 21. Dez 11:50 images
-rw-r--r-- 1 ensonic users   1075 21. Dez 11:50 LICENSE
-rw-r--r-- 1 ensonic users   1041 21. Dez 11:50 Makefile
-rw-r--r-- 1 ensonic users     67 21. Dez 11:50 MANIFEST.in
-rw-r--r-- 1 ensonic users   5650 21. Dez 11:50 paper.bib
-rw-r--r-- 1 ensonic users   8208 21. Dez 11:50 paper.md
-rw-r--r-- 1 ensonic users   7622 21. Dez 11:50 README.md
-rw-r--r-- 1 ensonic users   3409 21. Dez 11:50 setup.py
drwxr-xr-x 7 ensonic users   4096 21. Dez 11:50 spleeter
drwxr-xr-x 5 ensonic users   4096 21. Dez 11:51 spleeterenv
-rw-r--r-- 1 ensonic users   3970 21. Dez 11:50 spleeter.ipynb
drwxr-xr-x 3 ensonic users   4096 21. Dez 11:56 tests
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  ./spleeter separate -i '/home/family/music/Depeche Mode/Never Let Me Down Again/05 - Never Let Me Down Again (Aggro mix).ogg' -p spleeter:4stems -o /home/ensonic/temp/spleeter/
bash: ./spleeter: Is a directory
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  126  ./spleeter/ separate -i '/home/family/music/Depeche Mode/Never Let Me Down Again/05 - Never Let Me Down Again (Aggro mix).ogg' -p spleeter:4stems -o /home/ensonic/temp/spleeter/
audio/     commands/  model/     resources/ utils/     
 ensonic  (e) spleeterenv   master  ~  projects  audio  spleeter  126  make
rm -Rf *.egg-info
rm -Rf dist
sed -i "s/project_name = '[^']*'/project_name = 'spleeter'/g" setup.py
sed -i "s/tensorflow_dependency = '[^']*'/tensorflow_dependency = 'tensorflow'/g" setup.py
python3 setup.py sdist
running sdist
running egg_info
creating spleeter.egg-info
writing spleeter.egg-info/PKG-INFO
writing dependency_links to spleeter.egg-info/dependency_links.txt
writing entry points to spleeter.egg-info/entry_points.txt
writing requirements to spleeter.egg-info/requires.txt
writing top-level names to spleeter.egg-info/top_level.txt
writing manifest file 'spleeter.egg-info/SOURCES.txt'
reading manifest file 'spleeter.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'spleeter.egg-info/SOURCES.txt'
running check
creating spleeter-2.0.2
creating spleeter-2.0.2/spleeter
creating spleeter-2.0.2/spleeter.egg-info
creating spleeter-2.0.2/spleeter/audio
creating spleeter-2.0.2/spleeter/commands
creating spleeter-2.0.2/spleeter/model
creating spleeter-2.0.2/spleeter/model/functions
creating spleeter-2.0.2/spleeter/model/provider
creating spleeter-2.0.2/spleeter/resources
creating spleeter-2.0.2/spleeter/utils
copying files to spleeter-2.0.2...
copying LICENSE -> spleeter-2.0.2
copying MANIFEST.in -> spleeter-2.0.2
copying README.md -> spleeter-2.0.2
copying setup.py -> spleeter-2.0.2
copying spleeter/__init__.py -> spleeter-2.0.2/spleeter
copying spleeter/__main__.py -> spleeter-2.0.2/spleeter
copying spleeter/dataset.py -> spleeter-2.0.2/spleeter
copying spleeter/separator.py -> spleeter-2.0.2/spleeter
copying spleeter.egg-info/PKG-INFO -> spleeter-2.0.2/spleeter.egg-info
copying spleeter.egg-info/SOURCES.txt -> spleeter-2.0.2/spleeter.egg-info
copying spleeter.egg-info/dependency_links.txt -> spleeter-2.0.2/spleeter.egg-info
copying spleeter.egg-info/entry_points.txt -> spleeter-2.0.2/spleeter.egg-info
copying spleeter.egg-info/requires.txt -> spleeter-2.0.2/spleeter.egg-info
copying spleeter.egg-info/top_level.txt -> spleeter-2.0.2/spleeter.egg-info
copying spleeter/audio/__init__.py -> spleeter-2.0.2/spleeter/audio
copying spleeter/audio/adapter.py -> spleeter-2.0.2/spleeter/audio
copying spleeter/audio/convertor.py -> spleeter-2.0.2/spleeter/audio
copying spleeter/audio/ffmpeg.py -> spleeter-2.0.2/spleeter/audio
copying spleeter/audio/spectrogram.py -> spleeter-2.0.2/spleeter/audio
copying spleeter/commands/__init__.py -> spleeter-2.0.2/spleeter/commands
copying spleeter/commands/evaluate.py -> spleeter-2.0.2/spleeter/commands
copying spleeter/commands/separate.py -> spleeter-2.0.2/spleeter/commands
copying spleeter/commands/train.py -> spleeter-2.0.2/spleeter/commands
copying spleeter/model/__init__.py -> spleeter-2.0.2/spleeter/model
copying spleeter/model/functions/__init__.py -> spleeter-2.0.2/spleeter/model/functions
copying spleeter/model/functions/blstm.py -> spleeter-2.0.2/spleeter/model/functions
copying spleeter/model/functions/unet.py -> spleeter-2.0.2/spleeter/model/functions
copying spleeter/model/provider/__init__.py -> spleeter-2.0.2/spleeter/model/provider
copying spleeter/model/provider/github.py -> spleeter-2.0.2/spleeter/model/provider
copying spleeter/resources/2stems-16kHz.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/2stems.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/4stems-16kHz.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/4stems.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/5stems-16kHz.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/5stems.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/__init__.py -> spleeter-2.0.2/spleeter/resources
copying spleeter/resources/musdb.json -> spleeter-2.0.2/spleeter/resources
copying spleeter/utils/__init__.py -> spleeter-2.0.2/spleeter/utils
copying spleeter/utils/configuration.py -> spleeter-2.0.2/spleeter/utils
copying spleeter/utils/estimator.py -> spleeter-2.0.2/spleeter/utils
copying spleeter/utils/logging.py -> spleeter-2.0.2/spleeter/utils
copying spleeter/utils/tensor.py -> spleeter-2.0.2/spleeter/utils
Writing spleeter-2.0.2/setup.cfg
creating dist
Creating tar archive
removing 'spleeter-2.0.2' (and everything under it)
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked tests/
===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.8.6, pytest-6.2.1, py-1.10.0, pluggy-0.13.1 -- /home/ensonic/projects/audio/spleeter/spleeterenv/bin/python3
cachedir: .pytest_cache
rootdir: /home/ensonic/projects/audio/spleeter
plugins: forked-1.3.0, xdist-2.2.0
collecting ... Fatal Python error: Illegal instruction

Current thread 0x00007ffaee3d7740 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1101 in create_module
  File "<frozen importlib._bootstrap>", line 556 in module_from_spec
  File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/pywrap_tfe.py", line 28 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/eager/context.py", line 35 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/python/__init__.py", line 40 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 961 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/tensorflow/__init__.py", line 41 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/ensonic/projects/audio/spleeter/tests/test_eval.py", line 19 in <module>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 1014 in _gcd_import
  File "/usr/lib64/python3.8/importlib/__init__.py", line 127 in import_module
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/pathlib.py", line 531 in import_path
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 578 in _importtestmodule
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 500 in _getobj
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 291 in obj
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 516 in _inject_setup_module_fixture
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/python.py", line 503 in collect
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 341 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 311 in from_call
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 341 in pytest_make_collect_report
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/runner.py", line 458 in collect_one_node
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 808 in genitems
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 811 in genitems
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 634 in perform_collect
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 333 in pytest_collection
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 322 in _main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 269 in wrap_session
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/config/__init__.py", line 162 in main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/lib64/python3.8/site-packages/_pytest/config/__init__.py", line 185 in console_main
  File "/home/ensonic/projects/audio/spleeter/spleeterenv/bin/pytest", line 8 in <module>
make: *** [Makefile:30: test] Illegal instruction (Speicherauszug erstellt)
ipwa commented 3 years ago

AFAIK you need less than Python 3.8, you should use 3.6 or 3.7

mmoussallam commented 3 years ago

Closing this since newer version of spleeter should fix it