Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Installing the Intel® Distribution for Python* and Intel® Performance Libraries with pip and PyPI

$
0
0

The Intel® Distribution for Python* has now added the option of installing the distribution and specialized packages from the Python Package Index (PyPI) using pip.  The packages require the use of pip version 9.0.1, and are available utilizing the following instructions:

Intel® Runtime Packages

Package Namepip commandPlatform Availability
mklpip install mklLinux, Win, macOS
ipppip install ippLinux, Win, macOS
impipip install impiLinux, Win
daalpip install daalLinux, Win, macOS
intel-openmppip install intel-openmpLinux, Win, macOS

 

Performance Packages

To avoid issues with dependencies with NumPy or SciPy, they should be uninstalled before installing the Intel® variants of the packages–use pip uninstall numpy scipy -y to remove the packages first.

Package Namepip commandPlatform Availability
numpypip install intel-numpyLinux, Win
scipypip install intel-scipyLinux, Win

 

Note: If one installs intel_numpy, one would also get mkl_fft and mkl_random (with NumPy).
Similarly, if one installs intel_scipy, one would also get intel_numpy along with the installation of SciPy.

Specialized NumPy packages

In order to utilize these packages, the standard NumPy installation must be removed first using the command: pip uninstall numpy -y

Package Namepip commandPlatform Availability
mkl_fftpip install mkl_fftLinux, Win
mkl_randompip install mkl_randomLinux, Win

 

Development only packages

 

Package Namepip commandPlatform Availability
mkl-develpip install mkl-develLinux, Win, macOS
ipp-develpip install ipp-develLinux, Win, macOS
daal-develpip install daal-develLinux, Win, macOS

 

Troubleshooting

While `pip install`-ing any package, if installation fails with the following error message :

zlib.error: Error -5 while decompressing data: incomplete or truncated stream

retry after running the following command: rm -rf ~/.cache/pip

 

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>