Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install dice-sim via python pip




dice-sim - Simulate various dice throw situations, it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- Environment :: Console
- Intended Audience :: Other Audience
- License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
- Natural Language :: English
- Programming Language :: Python
- Topic :: Games/Entertainment
- Topic :: Games/Entertainment :: Board Games
- Topic :: Utilities

When you know about this project and you want to new install dice-sim to support your project or you get trouble as ModuleNotFoundError: No module named "dice-sim" or ImportError: cannot import name "dice-sim" in your project, let follow this tutorial to install dice-sim



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

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 virtual environment:

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_dice-sim_env

- Active the virtual environment

test_dice-sim_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_dice-sim_env

- Active the virtual environment

source test_dice-sim_env/bin/active


Step 2: OK, now, let flow below content to start the installation dice-sim

To install dice-sim on Windows(CMD):

py -m pip install dice-sim

To install dice-sim on Unix/macOs:

pip install dice-sim


Step 3: If you want to install a specific dice-sim version, add ==<dice-sim version> to the end command line

Example:

pip install dice-sim==1.0.0


Please see the version list below table:

VersionReleased dateCommand
dice-sim 1.0.02018-02-26T18:54:02Windows:

py -m pip install dice-sim==1.0.0

Unix/macOs:

pip install dice-sim==1.0.0


Step 4: Otherwise, you can install dice-sim from local archives:

Download the distribution file from dice_sim-1.0.0-py2.py3-none-any.whl or the specific dice-sim version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_dice-sim_downloaded_file>

On Unix/macOs:

pip install <path_to_dice-sim_downloaded_file>


List distribution:

- dice_sim-1.0.0-py2.py3-none-any.whl


Project link:

- Homepage