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

How to install legion-cli via python pip




legion-cli - Commandline Utilities for the Legion Alerting and Monitoring System, it belongs to Classifiers:

- Development Status :: 3 - Alpha
- Intended Audience :: Developers
- License :: OSI Approved
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
- Operating System :: OS Independent
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: 3.10

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



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_legion-cli_env

- Active the virtual environment

test_legion-cli_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_legion-cli_env

- Active the virtual environment

source test_legion-cli_env/bin/active


Step 2: OK, now, let flow below content to start the installation legion-cli

To install legion-cli on Windows(CMD):

py -m pip install legion-cli

To install legion-cli on Unix/macOs:

pip install legion-cli


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

Example:

pip install legion-cli==0.1.0                                                                          yanked


Please see the version list below table:

VersionReleased dateCommand
legion-cli 0.2.32022-01-17T20:29:07Windows:

py -m pip install legion-cli==0.2.3

Unix/macOs:

pip install legion-cli==0.2.3

legion-cli 0.2.2 yanked2021-08-30T04:45:28Windows:

py -m pip install legion-cli==0.2.2                                                                          yanked

Unix/macOs:

pip install legion-cli==0.2.2                                                                          yanked

legion-cli 0.2.1 yanked2021-08-30T04:43:50Windows:

py -m pip install legion-cli==0.2.1                                                                          yanked

Unix/macOs:

pip install legion-cli==0.2.1                                                                          yanked

legion-cli 0.1.7 yanked2021-07-21T09:26:56Windows:

py -m pip install legion-cli==0.1.7                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.7                                                                          yanked

legion-cli 0.1.6 yanked2021-07-17T08:11:35Windows:

py -m pip install legion-cli==0.1.6                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.6                                                                          yanked

legion-cli 0.1.5 yanked2021-07-08T03:52:33Windows:

py -m pip install legion-cli==0.1.5                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.5                                                                          yanked

legion-cli 0.1.4 yanked2021-07-07T02:31:41Windows:

py -m pip install legion-cli==0.1.4                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.4                                                                          yanked

legion-cli 0.1.3 yanked2021-07-04T19:48:03Windows:

py -m pip install legion-cli==0.1.3                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.3                                                                          yanked

legion-cli 0.1.2 yanked2021-07-04T07:12:28Windows:

py -m pip install legion-cli==0.1.2                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.2                                                                          yanked

legion-cli 0.1.1 yanked2021-07-04T05:47:45Windows:

py -m pip install legion-cli==0.1.1                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.1                                                                          yanked

legion-cli 0.1.0 yanked2021-06-29T22:00:23Windows:

py -m pip install legion-cli==0.1.0                                                                          yanked

Unix/macOs:

pip install legion-cli==0.1.0                                                                          yanked


Step 4: Otherwise, you can install legion-cli from local archives:

Download the distribution file from legion-cli-0.2.3.tar.gz or the specific legion-cli version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_legion-cli_downloaded_file>

On Unix/macOs:

pip install <path_to_legion-cli_downloaded_file>


List distribution:

- legion-cli-0.1.0.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.0-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.1.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.1-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.2.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.2-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.3.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.3-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.4.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.4-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.5.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.5-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.6.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.6-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.1.7.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.1.7-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.2.1.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.2.1-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.2.2.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.2.2-py3-none-any.whl (python version >=3.8,<4.0)
- legion-cli-0.2.3.tar.gz (python version >=3.8,<4.0)
- legion_cli-0.2.3-py3-none-any.whl (python version >=3.8,<4.0)


Project link:

- Homepage
- Documentation
- Repository