rsnt_translations
56,420
edits
No edit summary |
No edit summary |
||
Line 124: | Line 124: | ||
<!--T:68--> | <!--T:68--> | ||
The <code>pip</code> command can install packages from a variety of sources, including PyPI and prebuilt distribution packages called Python [https://pythonwheels.com/ wheels]. We provide 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 | The <code>pip</code> command can install packages from a variety of sources, including PyPI and prebuilt distribution packages called Python [https://pythonwheels.com/ wheels]. We provide 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. our wheels. | ||
<!--T:69--> | <!--T:69--> | ||
Line 358: | Line 358: | ||
<!--T:62--> | <!--T:62--> | ||
Here is how to pre-download a package called < | Here is how to pre-download a package called <code>tensorboardX</code> on a login node, and install it on a compute node: | ||
<!--T:63--> | <!--T:63--> | ||
# Run < | # Run <code>pip download --no-deps tensorboardX</code>. This will download the package as <code>tensorboardX-1.9-py2.py3-none-any.whl</code> (or similar) in the working directory. The syntax of <code>pip download</code> is the same as <code>pip install</code>. | ||
# If the filename does not end with < | # If the filename does not end with <code>none-any</code>, and ends with something like <code>linux_x86_64</code> or <code>manylinux*_x86_64</code>, the wheel might not function correctly. You should contact [[Technical support]] so that we compile the wheel and make it available on our systems. | ||
# Then, when installing, use the path for file < | # Then, when installing, use the path for file <code>pip install tensorboardX-1.9-py2.py3-none-any.whl</code>. | ||
== Parallel programming with the Python <tt>multiprocessing</tt> module == <!--T:45--> | == Parallel programming with the Python <tt>multiprocessing</tt> module == <!--T:45--> |