- Intended Audience :: Information Technology
- Operating System :: MacOS
- Operating System :: Microsoft :: Windows
- Operating System :: Unix
When you know about this project and you want to new install testcontainers to support your project or you get trouble as ModuleNotFoundError: No module named "testcontainers" or ImportError: cannot import name "testcontainers" in your project, let follow this tutorial to install testcontainers
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 Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_testcontainers_env
- Active the virtual environment
test_testcontainers_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_testcontainers_env
- Active the virtual environment
source test_testcontainers_env/bin/active
To install testcontainers on Windows(CMD):
py -m pip install testcontainers
To install testcontainers on Unix/macOs:
pip install testcontainers
Example:
pip install testcontainers==1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
testcontainers 3.6.1 | 2022-08-15T19:36:27 | Windows: Unix/macOs:
|
testcontainers 3.6.0 | 2022-06-14T19:45:43 | Windows: Unix/macOs:
|
testcontainers 3.5.4 | 2022-05-13T16:34:50 | Windows: Unix/macOs:
|
testcontainers 3.5.3 | 2022-04-04T22:03:56 | Windows: Unix/macOs:
|
testcontainers 3.5.2 | 2022-04-03T16:57:37 | Windows: Unix/macOs:
|
testcontainers 3.5.1 | 2022-04-03T16:55:26 | Windows: Unix/macOs:
|
testcontainers 3.5.0 | 2022-03-30T20:41:39 | Windows: Unix/macOs:
|
testcontainers 3.4.2 | 2021-08-15T17:51:53 | Windows: Unix/macOs:
|
testcontainers 3.4.1 | 2021-06-03T08:24:13 | Windows: Unix/macOs:
|
testcontainers 3.4.0 | 2021-03-29T09:48:45 | Windows: Unix/macOs:
|
testcontainers 3.3.0 | 2021-03-06T16:08:32 | Windows: Unix/macOs:
|
testcontainers 3.2.0 | 2020-12-11T18:41:54 | Windows: Unix/macOs:
|
testcontainers 3.1.0 | 2020-08-31T21:00:22 | Windows: Unix/macOs:
|
testcontainers 3.0.3 | 2020-06-08T17:04:58 | Windows: Unix/macOs:
|
testcontainers 3.0.2 | 2020-05-26T17:37:52 | Windows: Unix/macOs:
|
testcontainers 3.0.0 | 2020-04-28T09:39:12 | Windows: Unix/macOs:
|
testcontainers 2.6.0 | 2020-02-20T18:32:27 | Windows: Unix/macOs:
|
testcontainers 2.5 | 2019-07-25T18:31:12 | Windows: Unix/macOs:
|
testcontainers 2.3 | 2018-08-19T07:08:01 | Windows: Unix/macOs:
|
testcontainers 2.2 | 2018-02-25T17:05:43 | Windows: Unix/macOs:
|
testcontainers 2.1.2 | 2018-01-09T09:18:25 | Windows: Unix/macOs:
|
testcontainers 2.1.0 | 2017-10-01T12:47:01 | Windows: Unix/macOs:
|
testcontainers 2.0.0 | 2017-03-28T18:24:19 | Windows: Unix/macOs:
|
testcontainers 1.0.2 | 2016-09-26T18:48:55 | Windows: Unix/macOs:
|
testcontainers 1.0.1 | 2016-09-12T14:04:26 | Windows: Unix/macOs:
|
testcontainers 1.0 | 2016-08-21T17:08:54 | Windows: Unix/macOs:
|
Download the distribution file from testcontainers-3.6.1-py2.py3-none-any.whl or the specific testcontainers version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_testcontainers_downloaded_file>
On Unix/macOs:
pip install <path_to_testcontainers_downloaded_file>
List distribution:
Project link:
- Homepage