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

How to install hermes via python pip




hermes - Hermes is an extensible XMPP-based chatroom server written in Python., it belongs to Classifiers:

- License :: OSI Approved :: ISC License (ISCL)
- Operating System :: MacOS :: MacOS X

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



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_hermes_env

- Active the virtual environment

test_hermes_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_hermes_env

- Active the virtual environment

source test_hermes_env/bin/active


Step 2: OK, now, let flow below content to start the installation hermes

To install hermes on Windows(CMD):

py -m pip install hermes

To install hermes on Unix/macOs:

pip install hermes


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

Example:

pip install hermes==0.2.2


Please see the version list below table:

VersionReleased dateCommand
hermes 0.3.02013-03-19T19:06:12Windows:

py -m pip install hermes==0.3.0

Unix/macOs:

pip install hermes==0.3.0

hermes 0.2.72012-09-26T22:54:30Windows:

py -m pip install hermes==0.2.7

Unix/macOs:

pip install hermes==0.2.7

hermes 0.2.62012-09-17T18:11:31Windows:

py -m pip install hermes==0.2.6

Unix/macOs:

pip install hermes==0.2.6

hermes 0.2.52012-09-17T05:51:11Windows:

py -m pip install hermes==0.2.5

Unix/macOs:

pip install hermes==0.2.5

hermes 0.2.42012-09-17T05:33:09Windows:

py -m pip install hermes==0.2.4

Unix/macOs:

pip install hermes==0.2.4

hermes 0.2.22012-04-27T07:17:43Windows:

py -m pip install hermes==0.2.2

Unix/macOs:

pip install hermes==0.2.2


Step 4: Otherwise, you can install hermes from local archives:

Download the distribution file from hermes-0.3.0.tar.gz or the specific hermes version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_hermes_downloaded_file>

On Unix/macOs:

pip install <path_to_hermes_downloaded_file>


List distribution:

- hermes-0.2.2.tar.gz
- hermes-0.2.4.tar.gz
- hermes-0.2.5.tar.gz
- hermes-0.2.6.tar.gz
- hermes-0.2.7.tar.gz
- hermes-0.3.0.tar.gz


Project link:

- Homepage