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

How to install yubico-client via python pip




yubico-client - Library for verifying Yubikey One Time Passwords (OTPs), it belongs to Classifiers:

- Intended Audience :: System Administrators
- Programming Language :: Python :: 3.3
- Programming Language :: Python :: Implementation :: PyPy
- Topic :: Security

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



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_yubico-client_env

- Active the virtual environment

test_yubico-client_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_yubico-client_env

- Active the virtual environment

source test_yubico-client_env/bin/active


Step 2: OK, now, let flow below content to start the installation yubico-client

To install yubico-client on Windows(CMD):

py -m pip install yubico-client

To install yubico-client on Unix/macOs:

pip install yubico-client


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

Example:

pip install yubico-client==1.7.0


Please see the version list below table:

VersionReleased dateCommand
yubico-client 1.13.02020-05-21T14:20:14Windows:

py -m pip install yubico-client==1.13.0

Unix/macOs:

pip install yubico-client==1.13.0

yubico-client 1.12.02019-11-18T13:48:11Windows:

py -m pip install yubico-client==1.12.0

Unix/macOs:

pip install yubico-client==1.12.0

yubico-client 1.11.02019-07-06T21:04:49Windows:

py -m pip install yubico-client==1.11.0

Unix/macOs:

pip install yubico-client==1.11.0

yubico-client 1.10.02015-10-02T21:27:10Windows:

py -m pip install yubico-client==1.10.0

Unix/macOs:

pip install yubico-client==1.10.0

yubico-client 1.9.12014-02-05T09:43:19Windows:

py -m pip install yubico-client==1.9.1

Unix/macOs:

pip install yubico-client==1.9.1

yubico-client 1.9.02014-01-16T18:57:05Windows:

py -m pip install yubico-client==1.9.0

Unix/macOs:

pip install yubico-client==1.9.0

yubico-client 1.8.02013-11-09T14:39:09Windows:

py -m pip install yubico-client==1.8.0

Unix/macOs:

pip install yubico-client==1.8.0

yubico-client 1.7.02013-04-12T18:47:22Windows:

py -m pip install yubico-client==1.7.0

Unix/macOs:

pip install yubico-client==1.7.0


Step 4: Otherwise, you can install yubico-client from local archives:

Download the distribution file from yubico-client-1.13.0.tar.gz or the specific yubico-client version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_yubico-client_downloaded_file>

On Unix/macOs:

pip install <path_to_yubico-client_downloaded_file>


List distribution:


Project link:

- Homepage
- Download