- Topic :: Software Development :: Testing
When you know about this project and you want to new install screenplay to support your project or you get trouble as ModuleNotFoundError: No module named "screenplay" or ImportError: cannot import name "screenplay" in your project, let follow this tutorial to install screenplay
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_screenplay_env
- Active the virtual environment
test_screenplay_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_screenplay_env
- Active the virtual environment
source test_screenplay_env/bin/active
To install screenplay on Windows(CMD):
py -m pip install screenplay
To install screenplay on Unix/macOs:
pip install screenplay
Example:
pip install screenplay==0.1.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
screenplay 0.1.5 | 2022-05-07T23:44:17 | Windows: Unix/macOs:
|
screenplay 0.1.4 | 2022-05-07T23:28:52 | Windows: Unix/macOs:
|
screenplay 0.1.0 | 2022-05-01T22:07:01 | Windows: Unix/macOs:
|
Download the distribution file from screenplay-0.1.5.tar.gz or the specific screenplay version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_screenplay_downloaded_file>
On Unix/macOs:
pip install <path_to_screenplay_downloaded_file>
List distribution:
Project link: