- Topic :: Software Development :: Testing
When you know about this project and you want to new install ddt2 to support your project or you get trouble as ModuleNotFoundError: No module named "ddt2" or ImportError: cannot import name "ddt2" in your project, let follow this tutorial to install ddt2
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_ddt2_env
- Active the virtual environment
test_ddt2_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_ddt2_env
- Active the virtual environment
source test_ddt2_env/bin/active
To install ddt2 on Windows(CMD):
py -m pip install ddt2
To install ddt2 on Unix/macOs:
pip install ddt2
Example:
pip install ddt2==1.3.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
ddt2 11.3.0.4 | 2020-04-28T02:25:50 | Windows: Unix/macOs:
|
ddt2 11.3.0.3 | 2020-04-26T09:07:46 | Windows: Unix/macOs:
|
ddt2 11.3.0.2 | 2020-03-20T07:50:13 | Windows: Unix/macOs:
|
ddt2 11.3.0.1 | 2020-03-18T05:38:31 | Windows: Unix/macOs:
|
ddt2 11.3.0 | 2020-03-14T14:44:51 | Windows: Unix/macOs:
|
ddt2 1.3.0 | 2020-03-14T14:30:59 | Windows: Unix/macOs:
|
Download the distribution file from ddt2-11.3.0.4.tar.gz or the specific ddt2 version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_ddt2_downloaded_file>
On Unix/macOs:
pip install <path_to_ddt2_downloaded_file>
List distribution:
- ddt2-1.3.0.tar.gz
- ddt2-11.3.0.tar.gz
- ddt2-11.3.0.1.tar.gz
- ddt2-11.3.0.2.tar.gz
- ddt2-11.3.0.3.tar.gz
- ddt2-11.3.0.4.tar.gz
Project link:
- Homepage