spleeter icon indicating copy to clipboard operation
spleeter copied to clipboard

ImportError

Open ArnoStrasbourg opened this issue 2 years ago • 4 comments

Hello,

I have this issue on windows 10 :

ImportError: Numba requires at least version 0.38.0 of llvmlite. Installed version is 0.36.0. Please update llvmlite.

Any idees ?

Thx in advance.

ArnoStrasbourg avatar Mar 13 '22 11:03 ArnoStrasbourg

Hi @ArnoStrasbourg, It may be a pip install issue, with wrong dependency resolution with an old pip version (check issue #698). So, trying to update pip before installing spleeter may solve your issue.

romi1502 avatar Mar 14 '22 08:03 romi1502

Thank you for the answer. How can I update PIP on windows 10 please ?

ArnoStrasbourg avatar Mar 14 '22 23:03 ArnoStrasbourg

I tried this unsuccefully !

C:\Users\arnau>pip install --upgrade pip Collecting pip Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) |████████████████████████████████| 2.1 MB 3.3 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.3 Uninstalling pip-20.2.3: Successfully uninstalled pip-20.2.3 ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Accès refusé: 'C:\Users\arnau\AppData\Local\Temp\pip-uninstall-u7khksn9\pip.exe' Consider using the --user option or check the permissions.

ArnoStrasbourg avatar Mar 14 '22 23:03 ArnoStrasbourg

Then I tried

C:\Users\arnau>pip --version
pip 22.0.4 from c:\users\arnau\appdata\local\programs\python\python38\lib\site-packages\pip (python 3.8)

C:\Users\arnau>pip install awsebcli --upgrade --user

I obtened

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow 2.5.0 requires six~=1.15.0, but you have six 1.14.0 which is incompatible. Successfully installed PyYAML-5.4.1 awsebcli-3.20.3 botocore-1.23.54 cement-2.8.2 colorama-0.4.3 future-0.16.0 jmespath-0.10.0 pathspec-0.9.0 pypiwin32-223 pywin32-303 requests-2.26.0 semantic_version-2.8.5 six-1.14.0 wcwidth-0.1.9

So, I tried pip install --upgrade tensorflow

Result was

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. spleeter 2.3.0 requires numpy<1.20.0,>=1.16.0, but you have numpy 1.22.3 which is incompatible. spleeter 2.3.0 requires tensorflow==2.5.0, but you have tensorflow 2.8.0 which is incompatible. numba 0.55.1 requires llvmlite<0.39,>=0.38.0rc1, but you have llvmlite 0.36.0 which is incompatible. numba 0.55.1 requires numpy<1.22,>=1.18, but you have numpy 1.22.3 which is incompatible. Successfully installed keras-2.8.0 libclang-13.0.0 numpy-1.22.3 tensorflow-2.8.0 tensorflow-io-gcs-filesystem-0.24.0 tf-estimator-nightly-2.8.0.dev2021122109

ArnoStrasbourg avatar Mar 15 '22 05:03 ArnoStrasbourg