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

How to install ntp-shm via python pip




ntp-shm - Pure Python NTP shared memory library., it belongs to Classifiers:

- Topic :: System
- Topic :: System :: Networking
- Topic :: System :: Networking :: Time Synchronization

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



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_ntp-shm_env

- Active the virtual environment

test_ntp-shm_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_ntp-shm_env

- Active the virtual environment

source test_ntp-shm_env/bin/active


Step 2: OK, now, let flow below content to start the installation ntp-shm

To install ntp-shm on Windows(CMD):

py -m pip install ntp-shm

To install ntp-shm on Unix/macOs:

pip install ntp-shm


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

Example:

pip install ntp-shm==1.2.1


Please see the version list below table:

VersionReleased dateCommand
ntp-shm 1.4.02021-09-19T19:57:50Windows:

py -m pip install ntp-shm==1.4.0

Unix/macOs:

pip install ntp-shm==1.4.0

ntp-shm 1.2.12021-09-17T20:06:48Windows:

py -m pip install ntp-shm==1.2.1

Unix/macOs:

pip install ntp-shm==1.2.1


Step 4: Otherwise, you can install ntp-shm from local archives:

Download the distribution file from ntp-shm-1.4.0.tar.gz or the specific ntp-shm version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_ntp-shm_downloaded_file>

On Unix/macOs:

pip install <path_to_ntp-shm_downloaded_file>


List distribution:

- ntp-shm-1.2.1.tar.gz (python version >=3.2)
- ntp-shm-1.4.0.tar.gz (python version >=3.5)
- ntp_shm-1.4.0-py3-none-any.whl (python version >=3.5)
- ntp_shm-1.5.0-py3-none-any.whl (python version >=3.5)
- ntp-shm-1.6.0.tar.gz (python version >=3.6)
- ntp_shm-1.6.0-py3-none-any.whl (python version >=3.6)


Project link:

- Homepage
- Bug Tracker