IntelPython / scikit-learn_bench

scikit-learn_bench benchmarks various implementations of machine learning algorithms across data analytics frameworks. It currently support the scikit-learn, DAAL4PY, cuML, and XGBoost frameworks for commonly used machine learning algorithms.
Apache License 2.0
111 stars 69 forks source link

Error installing reqs for scikit-learn bench #67

Closed winedarksea closed 3 years ago

winedarksea commented 3 years ago

I run the following commands...

conda create -n intelpybench -c intel python=3.7
conda activate intelpybench
conda install -c intel scikit-learn scikit-learn-intelex pandas tqdm

That final instruction gives me an error:

ERROR conda.core.link:_execute(698): An error occurred while installing package 'intel::scikit-learn-0.24.1-py37h1590dfa_3'.
Rolling back transaction: done

LinkError: post-link script failed for package intel::scikit-learn-0.24.1-py37h1590dfa_3
location of failed script: C:\Users\Colin\.conda\envs\intelpybench3\Scripts\.scikit-learn-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:
stderr: The syntax of the command is incorrect.

return code: 255

I'm guessing this is due to scikit-learn-intelex being pretty much brand new and still in development.

PetrovKP commented 3 years ago

Hi @winedarksea , sorry for delay. We have reproduced the bug on windows OS and will fix it for the next release.

Now I recommend using the conda-forge or PyPi channels to getting scikit-learn

pip install -r sklearn_bench/requirements.txt
# or scikit-learn and scikit-learn-intelex from conda-forge
conda install -c conda-forge scikit-learn scikit-learn-intelex pandas tqdm
# or scikit-learn from conda-forge
conda install -c intel scikit-learn-intelex -c conda-forge scikit-learn
PetrovKP commented 3 years ago

For 2021.3 the problem is fixed.