rsnt_translations
56,430
edits
mNo edit summary |
(Marked this version for translation) |
||
Line 83: | Line 83: | ||
{{Command|prompt=(ENV) [name@server ~]|pip install numpy --no-index}} | {{Command|prompt=(ENV) [name@server ~]|pip install numpy --no-index}} | ||
<!--T:68--> | |||
The <code>pip</code> command can install packages from a variety of sources, including PyPI and pre-built distribution packages called Python [https://pythonwheels.com/ wheels]. Compute Canada provides Python wheels for a number of packages. In the above example, the [https://pip.pypa.io/en/stable/reference/pip_wheel/#cmdoption-no-index <code>--no-index</code>] option tells <code>pip</code> to ''not'' install from PyPI, but instead to install only from locally-available packages, i.e. the Compute Canada wheels. | The <code>pip</code> command can install packages from a variety of sources, including PyPI and pre-built distribution packages called Python [https://pythonwheels.com/ wheels]. Compute Canada provides Python wheels for a number of packages. In the above example, the [https://pip.pypa.io/en/stable/reference/pip_wheel/#cmdoption-no-index <code>--no-index</code>] option tells <code>pip</code> to ''not'' install from PyPI, but instead to install only from locally-available packages, i.e. the Compute Canada wheels. | ||
<!--T:69--> | |||
Whenever a Compute Canada wheel is available for a given package, we strongly recommend to use it by way of the <code>--no-index</code> option. Compared to using packages from PyPI, wheels that have been compiled by Compute Canada staff can prevent issues with missing or conflicting dependencies, and were optimised for our clusters hardware and libraries. See [[#Listing_available_wheels|Listing available wheels]]. | Whenever a Compute Canada wheel is available for a given package, we strongly recommend to use it by way of the <code>--no-index</code> option. Compared to using packages from PyPI, wheels that have been compiled by Compute Canada staff can prevent issues with missing or conflicting dependencies, and were optimised for our clusters hardware and libraries. See [[#Listing_available_wheels|Listing available wheels]]. | ||