Installing nitropy With pipx#
This guide explains how to install nitropy with pipx. pipx creates a virtual environment for nitropy. This means that nitropy and its dependencies don’t conflict with other packages installed on your system.
For Windows users: Windows support is still experimental – please use with caution. You can also use pre-compiled binaries or a MSI installer, see Installing nitropy on Windows.
You can install pip with your system package manager or with
python3 -m ensurepip. See the pip Installation Guide for more information.
Now you can install nitropy from the pynitrokey package:
pipx install pynitrokey
nitropy is now available in your path:
If you want to use nitropy with a Nitrokey Pro or Nitrokey Storage device, you also have to install libnitrokey.
Windows support is still experimental – please use with caution.
You might have to run nitropy with administrator rights to be able to connect to a device.
On Linux systems, you also need the Nitrokey udev rules. These are shipped with libnitrokey. Alternatively, you can install them manually:
wget https://raw.githubusercontent.com/Nitrokey/libnitrokey/master/data/41-nitrokey.rules sudo mv 41-nitrokey.rules /etc/udev/rules.d/
See Setting up The udev Rules For nitropy for more information.