Skip to content

dpnp installed into virtual env fails to import #2200

@antonwolfy

Description

@antonwolfy

I executed the following steps;

$ mamba create -n py312 --yes -c conda-forge --override-channels python=3.12 virtualenv
$ mamba activate py312
$ python -m venv pypi_venv
$ source pypi_venv/bin/activate

$ pip install --no-cache-dir --index-url https://pypi.anaconda.org/dppy/label/dev/simple --extra-index-url https://software.repos.intel.com/python/pypi  dpctl==0.19.0dev0 intel-sycl-rt dpnp
$ python -m dpnp
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 148, in _get_module_details
  File "<frozen runpy>", line 112, in _get_module_details
  File "/localdisk/work/antonvol/bits/dpnp/pypi_venv/lib/python3.12/site-packages/dpnp/__init__.py", line 55, in <module>
    from dpnp.dpnp_iface import *
  File "/localdisk/work/antonvol/bits/dpnp/pypi_venv/lib/python3.12/site-packages/dpnp/dpnp_iface.py", line 51, in <module>
    from dpnp.dpnp_algo import *
  File "/localdisk/work/antonvol/bits/dpnp/pypi_venv/lib/python3.12/site-packages/dpnp/dpnp_algo/__init__.py", line 27, in <module>
    from dpnp.dpnp_algo.dpnp_algo import *
ImportError: libmkl_sycl_blas.so.5: cannot open shared object file: No such file or directory

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions