Hello,
I have installed Anaconda with Spyder and tried to install the following commands. I can’t install these packages:
Pip install azureml-explain-model
Pip install azureml-interpret
The error is:
Collecting azureml-explain-model
Using cached azureml_explain_model-1.57.0-py3-none-any.whl.metadata (1.5 kB)
Collecting azureml-interpret~=1.57.0 (from azureml-explain-model)
Using cached azureml_interpret-1.57.0-py3-none-any.whl.metadata (3.2 kB)
Collecting interpret-community==0.31.* (from azureml-interpret~=1.57.0->azureml-explain-model)
Using cached interpret_community-0.31.0-py3-none-any.whl.metadata (4.4 kB)
Collecting numba<=0.56.4 (from azureml-interpret~=1.57.0->azureml-explain-model)
Using cached numba-0.56.4.tar.gz (2.4 MB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
C:\Users[…]\AppData\Local\Temp\pip-install-3tboyggh\numba_e15045356b53496a984415dfd650d64e\versioneer.py:335: SyntaxWarning: invalid escape sequence ‘\s’
LONG_VERSION_PY[‘git’] = ‘’’
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users[…]\AppData\Local\Temp\pip-install-3tboyggh\numba_e15045356b53496a984415dfd650d64e\setup.py”, line 51, in
_guard_py_ver()
File “C:\Users[…]\AppData\Local\Temp\pip-install-3tboyggh\numba_e15045356b53496a984415dfd650d64e\setup.py”, line 48, in _guard_py_ver
raise RuntimeError(msg.format(cur_py, min_py, max_py))
RuntimeError: Cannot install on Python version 3.12.7; only versions >=3.7,<3.11 are supported.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Thank you!