Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install tbb via python pip




tbb - Intel® oneAPI Threading Building Blocks (oneTBB), it belongs to Classifiers:

- Intended Audience :: Education
- Intended Audience :: Other Audience
- Intended Audience :: System Administrators
- License :: Other/Proprietary License
- Operating System :: MacOS

When you know about this project and you want to new install tbb to support your project or you get trouble as ModuleNotFoundError: No module named "tbb" or ImportError: cannot import name "tbb" in your project, let follow this tutorial to install tbb



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_tbb_env

- Active the virtual environment

test_tbb_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_tbb_env

- Active the virtual environment

source test_tbb_env/bin/active


Step 2: OK, now, let flow below content to start the installation tbb

To install tbb on Windows(CMD):

py -m pip install tbb

To install tbb on Unix/macOs:

pip install tbb


Step 3: If you want to install a specific tbb version, add ==<tbb version> to the end command line

Example:

pip install tbb==2018.0.4


Please see the version list below table:

VersionReleased dateCommand
tbb 2021.6.02022-04-27T21:12:53Windows:

py -m pip install tbb==2021.6.0

Unix/macOs:

pip install tbb==2021.6.0

tbb 2021.5.22022-03-03T18:45:28Windows:

py -m pip install tbb==2021.5.2

Unix/macOs:

pip install tbb==2021.5.2

tbb 2021.5.12022-01-21T18:37:24Windows:

py -m pip install tbb==2021.5.1

Unix/macOs:

pip install tbb==2021.5.1

tbb 2021.5.02021-12-02T12:50:18Windows:

py -m pip install tbb==2021.5.0

Unix/macOs:

pip install tbb==2021.5.0

tbb 2021.4.02021-09-28T17:01:47Windows:

py -m pip install tbb==2021.4.0

Unix/macOs:

pip install tbb==2021.4.0

tbb 2021.3.02021-06-28T14:46:49Windows:

py -m pip install tbb==2021.3.0

Unix/macOs:

pip install tbb==2021.3.0

tbb 2021.2.02021-03-26T20:16:19Windows:

py -m pip install tbb==2021.2.0

Unix/macOs:

pip install tbb==2021.2.0

tbb 2021.1.12020-12-03T12:22:58Windows:

py -m pip install tbb==2021.1.1

Unix/macOs:

pip install tbb==2021.1.1

tbb 2020.3.2542020-09-28T14:02:43Windows:

py -m pip install tbb==2020.3.254

Unix/macOs:

pip install tbb==2020.3.254

tbb 2020.0.1332019-11-13T12:04:33Windows:

py -m pip install tbb==2020.0.133

Unix/macOs:

pip install tbb==2020.0.133

tbb 2019.02018-09-18T15:11:44Windows:

py -m pip install tbb==2019.0

Unix/macOs:

pip install tbb==2019.0

tbb 2018.0.4.12018-09-10T14:41:47Windows:

py -m pip install tbb==2018.0.4.1

Unix/macOs:

pip install tbb==2018.0.4.1

tbb 2018.0.42018-06-14T10:44:32Windows:

py -m pip install tbb==2018.0.4

Unix/macOs:

pip install tbb==2018.0.4


Step 4: Otherwise, you can install tbb from local archives:

Download the distribution file from tbb-2021.6.0-py3-none-win_amd64.whl or the specific tbb version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_tbb_downloaded_file>

On Unix/macOs:

pip install <path_to_tbb_downloaded_file>


List distribution:


Project link:

- Homepage