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

How to install ansible-keyring via python pip




ansible-keyring - A CLI that extends ansible, ansible-playbook, and ansible-vault to use the system keyring for vault passwords, it belongs to Classifiers:

- Framework :: Pytest
- Framework :: Sphinx
- Framework :: Sphinx :: Extension
- Framework :: Sphinx :: Theme
- Intended Audience :: End Users/Desktop
- Intended Audience :: System Administrators
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft :: Windows :: Windows 10
- Operating System :: POSIX :: Linux
- Programming Language :: Java
- Programming Language :: Other
- Programming Language :: Other Scripting Engines
- Programming Language :: Python :: 3.11
- Programming Language :: Unix Shell
- Topic :: Desktop Environment
- Topic :: Documentation
- Topic :: Documentation :: Sphinx
- Topic :: Software Development :: Build Tools
- Topic :: Software Development :: Documentation
- Topic :: System :: Installation/Setup

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



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_ansible-keyring_env

- Active the virtual environment

test_ansible-keyring_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_ansible-keyring_env

- Active the virtual environment

source test_ansible-keyring_env/bin/active


Step 2: OK, now, let flow below content to start the installation ansible-keyring

To install ansible-keyring on Windows(CMD):

py -m pip install ansible-keyring

To install ansible-keyring on Unix/macOs:

pip install ansible-keyring


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

Example:

pip install ansible-keyring==1.2.4


Please see the version list below table:

VersionReleased dateCommand
ansible-keyring 1.2.72022-02-24T07:20:31Windows:

py -m pip install ansible-keyring==1.2.7

Unix/macOs:

pip install ansible-keyring==1.2.7

ansible-keyring 1.2.62022-02-24T06:40:07Windows:

py -m pip install ansible-keyring==1.2.6

Unix/macOs:

pip install ansible-keyring==1.2.6

ansible-keyring 1.2.52022-02-24T06:32:24Windows:

py -m pip install ansible-keyring==1.2.5

Unix/macOs:

pip install ansible-keyring==1.2.5

ansible-keyring 1.2.42022-02-24T04:27:22Windows:

py -m pip install ansible-keyring==1.2.4

Unix/macOs:

pip install ansible-keyring==1.2.4


Step 4: Otherwise, you can install ansible-keyring from local archives:

Download the distribution file from ansible-keyring-1.2.7.tar.gz or the specific ansible-keyring version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_ansible-keyring_downloaded_file>

On Unix/macOs:

pip install <path_to_ansible-keyring_downloaded_file>


List distribution:

- ansible-keyring-1.2.4.tar.gz (python version >=3.10.0,<3.11)
- ansible_keyring-1.2.4-py3-none-any.whl (python version >=3.10.0,<3.11)
- ansible-keyring-1.2.5.tar.gz (python version >=3.10.0,<3.11)
- ansible_keyring-1.2.5-py3-none-any.whl (python version >=3.10.0,<3.11)
- ansible-keyring-1.2.6.tar.gz (python version >=3.10.0,<3.11)
- ansible_keyring-1.2.6-py3-none-any.whl (python version >=3.10.0,<3.11)
- ansible-keyring-1.2.7.tar.gz (python version >=3.10.0,<3.11)
- ansible_keyring-1.2.7-py3-none-any.whl (python version >=3.10.0,<3.11)


Project link:

- Homepage
- Bug Tracker
- Documentation
- GitHub
- GitLab
- Give Directly
- Open Collective
- Patreon