When you know about this project and you want to new install heroes to support your project or you get trouble as ModuleNotFoundError: No module named "heroes" or ImportError: cannot import name "heroes" in your project, let follow this tutorial to install heroes
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_heroes_env
- Active the virtual environment
test_heroes_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_heroes_env
- Active the virtual environment
source test_heroes_env/bin/active
To install heroes on Windows(CMD):
py -m pip install heroes
To install heroes on Unix/macOs:
pip install heroes
Example:
pip install heroes==1.0.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
heroes 1.0.2 | 2018-08-01T11:13:40 | Windows: Unix/macOs:
|
heroes 1.0.1 | 2018-07-31T09:03:15 | Windows: Unix/macOs:
|
heroes 1.0.0 | 2018-07-26T09:12:19 | Windows: Unix/macOs:
|
Download the distribution file from heroes-1.0.2.tar.gz or the specific heroes version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_heroes_downloaded_file>
On Unix/macOs:
pip install <path_to_heroes_downloaded_file>
List distribution:
- heroes-1.0.0.tar.gz
- heroes-1.0.1.tar.gz
- heroes-1.0.2.tar.gz
Project link: