Skip to content

DLL import error #1177

Answered by oleksandr-pavlyk
alphaDeng asked this question in Q&A
Apr 20, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The version of dpctl on PyPI is very much out of date (https://pypi.org/project/dpctl/#history) at 0.11.3

Failure of dpctl._sycl_context to import indicates failure to find and load dependent libraries, such as DPC++ Runtime library libsycld.dll which must exist on your computer (installed independently, i.e. from oneAPI installation) but must also be of the version compatible with the version of the DPC++ compiler used to build the dpctl binary package.

Could you please try installing dpctl using conda? Its advantage is that it would also install dependent libraries.

conda create -n dpctl -c intel dpctl

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alphaDeng
Comment options

@oleksandr-pavlyk
Comment options

Answer selected by alphaDeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants