- Programming Language :: Python :: 3.11
- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: Jython
- Programming Language :: Python :: Implementation :: PyPy
- Topic :: Software Development :: Quality Assurance
- Topic :: Software Development :: Testing
When you know about this project and you want to new install PyHamcrest to support your project or you get trouble as ModuleNotFoundError: No module named "PyHamcrest" or ImportError: cannot import name "PyHamcrest" in your project, let follow this tutorial to install PyHamcrest
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_PyHamcrest_env
- Active the virtual environment
test_PyHamcrest_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_PyHamcrest_env
- Active the virtual environment
source test_PyHamcrest_env/bin/active
To install PyHamcrest on Windows(CMD):
py -m pip install PyHamcrest
To install PyHamcrest on Unix/macOs:
pip install PyHamcrest
Example:
pip install PyHamcrest==1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
PyHamcrest 2.0.4 | 2022-08-07T15:48:23 | Windows: Unix/macOs:
|
PyHamcrest 2.0.3 | 2021-12-12T20:12:38 | Windows: Unix/macOs:
|
PyHamcrest 2.0.2 | 2020-03-02T14:42:32 | Windows: Unix/macOs:
|
PyHamcrest 2.0.1 | 2020-02-26T13:49:44 | Windows: Unix/macOs:
|
PyHamcrest 2.0.0 | 2020-01-16T15:48:22 | Windows: Unix/macOs:
|
PyHamcrest 1.10.1 | 2020-01-15T09:48:51 | Windows: Unix/macOs:
|
PyHamcrest 1.9.0 | 2016-03-05T22:48:00 | Windows: Unix/macOs:
|
PyHamcrest 1.8.5 | 2015-07-19T22:53:04 | Windows: Unix/macOs:
|
PyHamcrest 1.8.4 | 2015-07-19T14:39:24 | Windows: Unix/macOs:
|
PyHamcrest 1.8.3 | 2015-04-10T18:14:38 | Windows: Unix/macOs:
|
PyHamcrest 1.8.2 | 2015-02-21T19:30:20 | Windows: Unix/macOs:
|
PyHamcrest 1.8.1 | 2014-10-10T03:42:10 | Windows: Unix/macOs:
|
PyHamcrest 1.8.0 | 2013-10-18T07:02:59 | Windows: Unix/macOs:
|
PyHamcrest 1.7.2 | 2013-09-02T17:36:41 | Windows: Unix/macOs:
|
PyHamcrest 1.7.1 | 2013-01-05T17:37:24 | Windows: Unix/macOs:
|
PyHamcrest 1.7 | 2012-12-29T18:32:41 | Windows: Unix/macOs:
|
PyHamcrest 1.6 | 2011-09-28T15:23:49 | Windows: Unix/macOs:
|
PyHamcrest 1.5 | 2011-05-01T00:30:45 | Windows: Unix/macOs:
|
PyHamcrest 1.4 | 2011-02-14T01:00:50 | Windows: Unix/macOs:
|
PyHamcrest 1.3 | 2011-02-05T07:04:50 | Windows: Unix/macOs:
|
PyHamcrest 1.2.1 | 2011-01-05T05:53:15 | Windows: Unix/macOs:
|
PyHamcrest 1.1 | 2010-12-29T05:09:04 | Windows: Unix/macOs:
|
PyHamcrest 1.0 | 2010-12-04T19:14:15 | Windows: Unix/macOs:
|
Download the distribution file from pyhamcrest-2.0.4.tar.gz or the specific PyHamcrest version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_PyHamcrest_downloaded_file>
On Unix/macOs:
pip install <path_to_PyHamcrest_downloaded_file>
List distribution:
Project link: