Title: Import error due to missing symbol · Issue #2111 · IntelPython/dpctl · GitHub
Open Graph Title: Import error due to missing symbol · Issue #2111 · IntelPython/dpctl
X Title: Import error due to missing symbol · Issue #2111 · IntelPython/dpctl
Description: When installing the latest dpctl with pip, I get this error: Traceback (most recent call last): File " Open Graph Description: When installing the latest dpctl with pip, I get this error: Traceback (most recent call last): File " X Description: When installing the latest dpctl with pip, I get this error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/dcortes/mambaforge/envs/py...
Opengraph URL: https://github.com/IntelPython/dpctl/issues/2111
X: @github
Domain: patch-diff.githubusercontent.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Import error due to missing symbol","articleBody":"When installing the latest dpctl with pip, I get this error:\n```\nTraceback (most recent call last):\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n File \"/home/dcortes/mambaforge/envs/py311/lib/python3.11/site-packages/dpctl/__init__.py\", line 30, in \u003cmodule\u003e\n from ._device_selection import select_device_with_aspects\n File \"/home/dcortes/mambaforge/envs/py311/lib/python3.11/site-packages/dpctl/_device_selection.py\", line 20, in \u003cmodule\u003e\n from ._sycl_device import SyclDevice, SyclDeviceCreationError\nImportError: /home/dcortes/mambaforge/envs/py311/lib/python3.11/site-packages/dpctl/libDPCTLSyclInterface.so: undefined symbol: _ZNK4sycl3_V18platform23khr_get_default_contextEv\n```\n\nwhich demangles to:\n```\nsycl::_V1::platform::khr_get_default_context() const\n```\n\nI would guess that this is an issue of not specifying sufficiently high versions for all the sycl-related dependencies.\n\nRest of the environment is as follows:\n\n\u003cdetails\u003e\n\n```\n# Name Version Build Channel\n_libgcc_mutex 0.1 conda_forge conda-forge\n_openmp_mutex 4.5 2_gnu conda-forge\nanyio 4.6.2.post1 pyhd8ed1ab_0 conda-forge\nargon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge\nargon2-cffi-bindings 21.2.0 py311h9ecbd09_5 conda-forge\narrow 1.3.0 pyhd8ed1ab_0 conda-forge\nasttokens 2.4.1 pyhd8ed1ab_0 conda-forge\nasync-lru 2.0.4 pyhd8ed1ab_0 conda-forge\nattrs 24.2.0 pyh71513ae_0 conda-forge\nbabel 2.14.0 pyhd8ed1ab_0 conda-forge\nbeautifulsoup4 4.12.3 pyha770c72_0 conda-forge\nbleach 6.1.0 pyhd8ed1ab_0 conda-forge\nbrotli-python 1.1.0 py311hfdbb021_2 conda-forge\nbzip2 1.0.8 h4bc722e_7 conda-forge\nca-certificates 2024.8.30 hbcca054_0 conda-forge\ncached-property 1.5.2 hd8ed1ab_1 conda-forge\ncached_property 1.5.2 pyha770c72_1 conda-forge\ncertifi 2024.8.30 pyhd8ed1ab_0 conda-forge\ncffi 1.17.1 py311hf29c0ef_0 conda-forge\ncharset-normalizer 3.4.0 pyhd8ed1ab_0 conda-forge\ncomm 0.2.2 pyhd8ed1ab_0 conda-forge\ncontourpy 1.3.0 pypi_0 pypi\ncycler 0.12.1 pypi_0 pypi\ndebugpy 1.8.5 py311hfdbb021_1 conda-forge\ndecorator 5.1.1 pyhd8ed1ab_0 conda-forge\ndefusedxml 0.7.1 pyhd8ed1ab_0 conda-forge\ndill 0.3.9 pypi_0 pypi\ndpctl 0.20.1 pypi_0 pypi\nduckdb 1.1.2 pypi_0 pypi\nentrypoints 0.4 pyhd8ed1ab_0 conda-forge\nexceptiongroup 1.2.2 pyhd8ed1ab_0 conda-forge\nexecuting 2.1.0 pyhd8ed1ab_0 conda-forge\nfonttools 4.54.1 pypi_0 pypi\nfqdn 1.5.1 pyhd8ed1ab_0 conda-forge\nh11 0.14.0 pyhd8ed1ab_0 conda-forge\nh2 4.1.0 pyhd8ed1ab_0 conda-forge\nhpack 4.0.0 pyh9f0ad1d_0 conda-forge\nhttpcore 1.0.6 pyhd8ed1ab_0 conda-forge\nhttpx 0.27.2 pyhd8ed1ab_0 conda-forge\nhyperframe 6.0.1 pyhd8ed1ab_0 conda-forge\nidna 3.10 pyhd8ed1ab_0 conda-forge\nimportlib-metadata 8.5.0 pyha770c72_0 conda-forge\nimportlib_metadata 8.5.0 hd8ed1ab_0 conda-forge\nimportlib_resources 6.4.5 pyhd8ed1ab_0 conda-forge\nintel-cmplr-lib-rt 2025.1.1 pypi_0 pypi\nintel-cmplr-lib-ur 2025.1.1 pypi_0 pypi\nintel-cmplr-lic-rt 2025.1.1 pypi_0 pypi\nintel-sycl-rt 2025.1.1 pypi_0 pypi\nipykernel 6.29.5 pyh3099207_0 conda-forge\nipython 8.27.0 pyh707e725_0 conda-forge\nisoduration 20.11.0 pyhd8ed1ab_0 conda-forge\njedi 0.19.1 pyhd8ed1ab_0 conda-forge\njinja2 3.1.4 pyhd8ed1ab_0 conda-forge\njoblib 1.5.1 pypi_0 pypi\njson5 0.9.25 pyhd8ed1ab_0 conda-forge\njsonpointer 3.0.0 py311h38be061_1 conda-forge\njsonschema 4.23.0 pyhd8ed1ab_0 conda-forge\njsonschema-specifications 2024.10.1 pyhd8ed1ab_0 conda-forge\njsonschema-with-format-nongpl 4.23.0 hd8ed1ab_0 conda-forge\njupyter-lsp 2.2.5 pyhd8ed1ab_0 conda-forge\njupyter_client 8.6.2 pyhd8ed1ab_0 conda-forge\njupyter_core 5.7.2 py311h38be061_0 conda-forge\njupyter_events 0.10.0 pyhd8ed1ab_0 conda-forge\njupyter_server 2.14.2 pyhd8ed1ab_0 conda-forge\njupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge\njupyterlab 4.2.5 pyhd8ed1ab_0 conda-forge\njupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge\njupyterlab_server 2.27.3 pyhd8ed1ab_0 conda-forge\nkeyutils 1.6.1 h166bdaf_0 conda-forge\nkiwisolver 1.4.7 pypi_0 pypi\nkrb5 1.21.3 h659f571_0 conda-forge\nld_impl_linux-64 2.40 hf3520f5_7 conda-forge\nlibedit 3.1.20191231 he28a2e2_2 conda-forge\nlibexpat 2.6.3 h5888daf_0 conda-forge\nlibffi 3.4.2 h7f98852_5 conda-forge\nlibgcc 14.1.0 h77fa898_1 conda-forge\nlibgcc-ng 14.1.0 h69a702a_1 conda-forge\nlibgomp 14.1.0 h77fa898_1 conda-forge\nlibnsl 2.0.1 hd590300_0 conda-forge\nlibsodium 1.0.20 h4ab18f5_0 conda-forge\nlibsqlite 3.46.1 hadc24fc_0 conda-forge\nlibstdcxx 14.1.0 hc0a3c3a_1 conda-forge\nlibstdcxx-ng 14.1.0 h4852527_1 conda-forge\nlibuuid 2.38.1 h0b41bf4_0 conda-forge\nlibxcrypt 4.4.36 hd590300_1 conda-forge\nlibzlib 1.3.1 h4ab18f5_1 conda-forge\nmarkupsafe 3.0.2 py311h2dc5d0c_0 conda-forge\nmatplotlib 3.9.2 pypi_0 pypi\nmatplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge\nmistune 3.0.2 pyhd8ed1ab_0 conda-forge\nmizani 0.11.4 pypi_0 pypi\nnb_conda_kernels 2.5.1 pyh707e725_2 conda-forge\nnbclient 0.10.0 pyhd8ed1ab_0 conda-forge\nnbconvert 7.16.4 hd8ed1ab_1 conda-forge\nnbconvert-core 7.16.4 pyhd8ed1ab_1 conda-forge\nnbconvert-pandoc 7.16.4 hd8ed1ab_1 conda-forge\nnbformat 5.10.4 pyhd8ed1ab_0 conda-forge\nncurses 6.5 he02047a_1 conda-forge\nnest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge\nnotebook 7.2.2 pyhd8ed1ab_0 conda-forge\nnotebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge\nnumpy 1.26.4 pypi_0 pypi\nopenssl 3.3.2 hb9d3cd8_0 conda-forge\noverrides 7.7.0 pyhd8ed1ab_0 conda-forge\npackaging 24.1 pyhd8ed1ab_0 conda-forge\npandas 2.2.3 pypi_0 pypi\npandoc 3.5 ha770c72_0 conda-forge\npandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge\nparso 0.8.4 pyhd8ed1ab_0 conda-forge\npatchworklib 0.6.5 pypi_0 pypi\npatsy 0.5.6 pypi_0 pypi\npexpect 4.9.0 pyhd8ed1ab_0 conda-forge\npickleshare 0.7.5 py_1003 conda-forge\npillow 11.0.0 pypi_0 pypi\npip 24.2 pyh8b19718_1 conda-forge\npkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge\nplatformdirs 4.3.2 pyhd8ed1ab_0 conda-forge\nplotnine 0.13.6 pypi_0 pypi\npolars 1.12.0 pypi_0 pypi\nprometheus_client 0.21.0 pyhd8ed1ab_0 conda-forge\nprompt-toolkit 3.0.47 pyha770c72_0 conda-forge\npsutil 6.0.0 py311h9ecbd09_1 conda-forge\nptyprocess 0.7.0 pyhd3deb0d_0 conda-forge\npure_eval 0.2.3 pyhd8ed1ab_0 conda-forge\npyarrow 18.0.0 pypi_0 pypi\npycparser 2.22 pyhd8ed1ab_0 conda-forge\npygments 2.18.0 pyhd8ed1ab_0 conda-forge\npyparsing 3.2.0 pypi_0 pypi\npysocks 1.7.1 pyha2e5f31_6 conda-forge\npython 3.11.10 hc5c86c4_0_cpython conda-forge\npython-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge\npython-fastjsonschema 2.20.0 pyhd8ed1ab_0 conda-forge\npython-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge\npython_abi 3.11 5_cp311 conda-forge\npytz 2024.2 pyhd8ed1ab_0 conda-forge\npyyaml 6.0.2 py311h9ecbd09_1 conda-forge\npyzmq 26.2.0 py311h7deb3e3_2 conda-forge\nreadline 8.2 h8228510_1 conda-forge\nreferencing 0.35.1 pyhd8ed1ab_0 conda-forge\nrequests 2.32.3 pyhd8ed1ab_0 conda-forge\nrfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge\nrfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge\nrpds-py 0.20.0 py311h9e33e62_1 conda-forge\nscikit-learn 1.7.0 pypi_0 pypi\nscipy 1.14.1 pypi_0 pypi\nseaborn 0.13.2 pypi_0 pypi\nsend2trash 1.8.3 pyh0d859eb_0 conda-forge\nsetuptools 73.0.1 pyhd8ed1ab_0 conda-forge\nsix 1.16.0 pyh6c4a22f_0 conda-forge\nsniffio 1.3.1 pyhd8ed1ab_0 conda-forge\nsoupsieve 2.5 pyhd8ed1ab_1 conda-forge\nstack_data 0.6.2 pyhd8ed1ab_0 conda-forge\nstatsmodels 0.14.4 pypi_0 pypi\ntcmlib 1.3.0 pypi_0 pypi\nterminado 0.18.1 pyh0d859eb_0 conda-forge\nthreadpoolctl 3.6.0 pypi_0 pypi\ntinycss2 1.4.0 pyhd8ed1ab_0 conda-forge\ntk 8.6.13 noxft_h4845f30_101 conda-forge\ntomli 2.0.2 pyhd8ed1ab_0 conda-forge\ntornado 6.4.1 py311h9ecbd09_1 conda-forge\ntraitlets 5.14.3 pyhd8ed1ab_0 conda-forge\ntypes-python-dateutil 2.9.0.20241003 pyhff2d567_0 conda-forge\ntyping-extensions 4.12.2 hd8ed1ab_0 conda-forge\ntyping_extensions 4.12.2 pyha770c72_0 conda-forge\ntyping_utils 0.1.0 pyhd8ed1ab_0 conda-forge\ntzdata 2024.2 pypi_0 pypi\numf 0.10.0 pypi_0 pypi\nuri-template 1.3.0 pyhd8ed1ab_0 conda-forge\nurllib3 2.2.3 pyhd8ed1ab_0 conda-forge\nwcwidth 0.2.13 pyhd8ed1ab_0 conda-forge\nwebcolors 24.8.0 pyhd8ed1ab_0 conda-forge\nwebencodings 0.5.1 pyhd8ed1ab_2 conda-forge\nwebsocket-client 1.8.0 pyhd8ed1ab_0 conda-forge\nwheel 0.44.0 pyhd8ed1ab_0 conda-forge\nxz 5.2.6 h166bdaf_0 conda-forge\nyaml 0.2.5 h7f98852_2 conda-forge\nzeromq 4.3.5 ha4adb4c_5 conda-forge\nzipp 3.20.1 pyhd8ed1ab_0 conda-forge\nzstandard 0.23.0 py311hbc35293_1 conda-forge\nzstd 1.5.6 ha6fb4c9_0 conda-forge\n```\n\n\u003c/details\u003e","author":{"url":"https://github.com/david-cortes-intel","@type":"Person","name":"david-cortes-intel"},"datePublished":"2025-06-25T14:33:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":19},"url":"https://github.com/2111/dpctl/issues/2111"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:7780d975-5d46-d556-0ff3-8e74e6b8fd2c current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 8E30:36F10E:1A0E599:22A4922:696EDECF html-safe-nonce 2e80b638e30171195906f2b201fb2755cfb1c4ac1003ef0f79544e307bdec42a visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTMwOjM2RjEwRToxQTBFNTk5OjIyQTQ5MjI6Njk2RURFQ0YiLCJ2aXNpdG9yX2lkIjoiMjYwMTIxNjY1MjE4NjkzNDk5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac f6f2888d64e400c06fae13423e82a99f981b688d5d501d2230b85e92101411b8 hovercard-subject-tag issue:3175902955 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IntelPython/dpctl/2111/issue_layout twitter:image https://opengraph.githubassets.com/133ba211af43680ad8438e148d8b912cf9cf7ba753445c54dd92f09812bdb68d/IntelPython/dpctl/issues/2111 twitter:card summary_large_image og:image https://opengraph.githubassets.com/133ba211af43680ad8438e148d8b912cf9cf7ba753445c54dd92f09812bdb68d/IntelPython/dpctl/issues/2111 og:image:alt When installing the latest dpctl with pip, I get this error: Traceback (most recent call last): File " og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username david-cortes-intel hostname github.com expected-hostname github.com None b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee turbo-cache-control no-preview go-import github.com/IntelPython/dpctl git https://github.com/IntelPython/dpctl.git octolytics-dimension-user_id 20491374 octolytics-dimension-user_login IntelPython octolytics-dimension-repository_id 279842328 octolytics-dimension-repository_nwo IntelPython/dpctl octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 279842328 octolytics-dimension-repository_network_root_nwo IntelPython/dpctl turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 39aed5006635ab6f45e6b77d23e73b08a00272a3 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.