May 2019
Intermediate to advanced
452 pages
12h 16m
English
For a system-wide installation of PyOpenCL that would be tied to your existing Python base, we would first have to install pip, which is a tool for installing Python packages.
To install pip for Python 3.x, use the following command:
sudo apt install python3-pip
pip for Python 2.x can be installed via the following command:
sudo apt install python-pip
This is an important note from the developers of pip:
Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Hence, it is recommended to use/transition to Python 3.x to work on Python-based packages ...
Read now
Unlock full access