- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
When you know about this project and you want to new install winpexpect to support your project or you get trouble as ModuleNotFoundError: No module named "winpexpect" or ImportError: cannot import name "winpexpect" in your project, let follow this tutorial to install winpexpect
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_winpexpect_env
- Active the virtual environment
test_winpexpect_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_winpexpect_env
- Active the virtual environment
source test_winpexpect_env/bin/active
To install winpexpect on Windows(CMD):
py -m pip install winpexpect
To install winpexpect on Unix/macOs:
pip install winpexpect
Example:
pip install winpexpect==1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
winpexpect 1.5 | 2011-03-14T12:37:43 | Windows: Unix/macOs:
|
winpexpect 1.4 | 2010-06-20T17:49:04 | Windows: Unix/macOs:
|
winpexpect 1.3 | 2010-05-09T22:41:15 | Windows: Unix/macOs:
|
winpexpect 1.2 | 2010-04-28T00:03:37 | Windows: Unix/macOs:
|
winpexpect 1.1 | 2010-03-28T01:01:37 | Windows: Unix/macOs:
|
winpexpect 1.0 | 2010-03-20T01:00:27 | Windows: Unix/macOs:
|
Download the distribution file from winpexpect-1.5.tar.gz or the specific winpexpect version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_winpexpect_downloaded_file>
On Unix/macOs:
pip install <path_to_winpexpect_downloaded_file>
List distribution:
Project link:
- Homepage