Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
429 Discussions

Pypi mkl-devel does not contain symlinks

Burgy
Beginner
632 Views

Hi,

I choose to install MKL from https://pypi.org/project/mkl-devel/ so I can declare it as a dependency of my python project.  I have to resort to ugly hacks in order for https://docs.python.org/3/library/ctypes.html to "find" libmkl_rt because POSIX tools expect a filename ending in .so (without an additional version suffix).  I see that version-free symlinks do exist in /opt/intel/oneapi/mkl/latest.  Could the python package please include them as well?

Thanks,

Jan

0 Kudos
4 Replies
StefR_Intel
Moderator
400 Views

Hi Jan,


I see that your post was moved from another forum. Have you considered using the Intel® Distribution for Python* for your project?


Kind regards,

Stef



0 Kudos
StefR_Intel
Moderator
307 Views

Has your issue been resolved? If I don't hear from you within 5 business days, I will assume your support request is resolved and you no longer need assistance.


0 Kudos
Burgy
Beginner
162 Views

Hi Stef,

 

No, I don't believe my issue was resolved.  First of all, I'm not sure what your suggestion of "using Intel® Distribution for Python*" means.  Are you suggesting I forgo standard python tooling and use an intel-specific installer?  That doesn't fit my workflow as I'm actually developing a library, not an application, and therefore prefer standard tools.

I did try pointing pip to https://software.repos.intel.com/python/conda instead of the standard pypi index.  mkl-devel is not available on that index.  I'm not sure that URL implements the pip index API.

 

Yours,

Jan 

0 Kudos
StefR_Intel
Moderator
96 Views

Hi Jan,

 

Unfortunately, this is a limitation of the PIP package archive, so we don't include symlinks in any PIP package. Please check out the following link for more information: https://www.intel.com/content/www/us/en/docs/onemkl/get-started-guide/2025-0/overview.html#GUID-502B5249-50AE-4E42-966F-3A5446666E08.

 

Kind regards,

Stef

0 Kudos
Reply