We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to run the same code and I receive the exact same error message as #989
ModuleNotFoundError: No module named 'daal4py._oneapi'
I am using Intel i9-12900H with Iris Xr Graphics. Using python 3.8 with conda.
My code is like below:
from sklearnex import patch_sklearn, unpatch_sklearn, config_context patch_sklearn() from sklearn.cluster import KMeans ······ with config_context(target_offload="gpu:0"): clt_3 = KMeans(n_clusters=clusters, n_init=10) clt_3.fit(img.reshape(-1, 3))
My packages in environment:
# packages in environment at D:\Dev\anaconda3\envs\scientificProject-colorsci: # # Name Version Build Channel altgraph 0.17.3 py38haa95532_0 brotli 1.1.0 hcfcfb64_1 intel brotli-bin 1.1.0 hcfcfb64_1 intel bzip2 1.0.8 vc14hd4456ca_9 [vc14] intel ca-certificates 2023.7.22 h56e8100_0 intel certifi 2023.7.22 pyhd8ed1ab_0 intel charset-normalizer 3.3.2 pyhd8ed1ab_0 intel colour-science 0.4.1 pypi_0 pypi contourpy 1.0.5 py38h59b6b97_0 cycler 0.12.1 pyhd8ed1ab_0 intel daal 2018.0.3.20180405 0 intel daal4py 2024.0.0 py38_intel_49555 intel dal 2024.0.0 intel_49555 intel dpcpp-cpp-rt 2023.2.2 intel_49531 intel dpcpp_cpp_rt 2024.0.0 intel_49840 intel dpctl 0.14.5 py38hdcf5b23_24 intel et_xmlfile 1.1.0 py38haa95532_0 fonttools 4.25.0 pyhd3eb1b0_0 intel fortran_rt 2024.0.0 intel_49840 intel freetype 2.10.4 h43e298c_0 intel future 0.18.3 pyhd8ed1ab_0 intel icc_rt 2023.2.2 intel_49531 intel idna 3.4 py38haa95532_0 intel imageio 2.33.0 pypi_0 pypi impi_rt 2021.11.0 intel_49499 intel importlib-metadata 6.7.0 pyha770c72_0 intel intel-cmplr-lib-rt 2023.2.2 intel_49531 intel intel-cmplr-lic-rt 2023.2.2 intel_49531 intel intel-fortran-rt 2023.2.2 intel_49531 intel intel-opencl-rt 2023.2.2 intel_49531 intel intel-openmp 2023.2.2 intel_49531 intel intelpython 2024.0.0 0 intel joblib 1.3.2 pyhd8ed1ab_0 intel kiwisolver 1.4.4 py38hb1fd069_1 intel libbrotlicommon 1.1.0 hcfcfb64_1 intel libbrotlidec 1.1.0 hcfcfb64_1 intel libbrotlienc 1.1.0 hcfcfb64_1 intel libffi 3.4.2 h8ffe710_5 intel libpng 1.6.37 vc14h53ad9d4_8 [vc14] intel libsqlite 3.44.0 hcfcfb64_0 intel libzlib 1.2.13 hcfcfb64_5 intel llvmlite 0.40.0 py38h19421c1_0 intel matplotlib 3.1.2 py38haae3450_12 intel mkl 2023.2.0 intel_49496 intel mkl-service 2.4.0 py38h9a4cf0c_35 intel mkl_fft 1.3.6 py38h5020ddc_56 intel mkl_random 1.2.2 py38hf267b2b_76 intel mkl_umath 0.1.1 py38h51af1d9_86 intel munkres 1.1.4 py_0 intel numba 0.57.0 py38hb182ae8_2 intel numpy 1.24.3 py38hcdfd0aa_0 intel numpy-base 1.24.3 py38h9b12b81_0 intel opencv-python 4.8.1.78 pypi_0 pypi openpyxl 3.0.10 py38h2bbff1b_0 openssl 3.1.4 hcfcfb64_0 intel packaging 23.2 pyhd8ed1ab_0 intel pandas 1.5.2 py38hb0f345d_0 intel pefile 2022.5.30 py38haa95532_0 pillow 10.1.0 pypi_0 pypi pip 23.3.1 pyhd8ed1ab_0 intel platformdirs 3.11.0 pyhd8ed1ab_0 intel pooch 1.8.0 pyhd8ed1ab_0 intel pyinstaller 5.6.2 py38h2bbff1b_0 pyinstaller-hooks-contrib 2022.14 py38haa95532_0 pyparsing 3.1.1 pyhd8ed1ab_0 intel pysocks 1.7.1 pyh0701188_6 intel python 3.8.16 h11da44f_20 intel python-dateutil 2.8.2 py38_1 intel python_abi 3.8 2_cp38 intel pytz 2023.3.post1 pyhd8ed1ab_0 intel pywin32 305 py38h2bbff1b_0 intel pywin32-ctypes 0.2.0 py38_1000 requests 2.31.0 pyhd8ed1ab_0 intel scikit-learn 1.2.2 py38h763eb3e_2 intel vc14_runtime 14.36.32532 hdcecf7f_17 intel vs2015_runtime 14.36.32532 h05e6639_17 intel wheel 0.41.3 pyhd8ed1ab_0 intel win_inet_pton 1.1.0 pyhd8ed1ab_6 intel xlsxwriter 3.1.1 py38haa95532_0 xz 5.2.8 h8cc25b3_0 intel zipp 3.15.0 pyhd8ed1ab_0 intel zlib 1.2.13 hcfcfb64_5 intel
The text was updated successfully, but these errors were encountered:
can you try running this through clean environment? in you list i see mix of 2023.2 and 2024.0 packages
Sorry, something went wrong.
No branches or pull requests
I am trying to run the same code and I receive the exact same error message as #989
ModuleNotFoundError: No module named 'daal4py._oneapi'
I am using Intel i9-12900H with Iris Xr Graphics. Using python 3.8 with conda.
My code is like below:
My packages in environment:
The text was updated successfully, but these errors were encountered: