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

How to install pygn via python pip




pygn - The Python Gateway Script: news2mail mail2news gateway, it belongs to Classifiers:

- Development Status :: 3 - Alpha
- Environment :: Console
- Intended Audience :: System Administrators
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
- Topic :: Communications
- Topic :: Communications :: Usenet News
- Topic :: Utilities

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



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_pygn_env

- Active the virtual environment

test_pygn_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_pygn_env

- Active the virtual environment

source test_pygn_env/bin/active


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

To install pygn on Windows(CMD):

py -m pip install pygn

To install pygn on Unix/macOs:

pip install pygn


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

Example:

pip install pygn==0.9.10


Please see the version list below table:

VersionReleased dateCommand
pygn 0.10.22020-07-01T14:33:00Windows:

py -m pip install pygn==0.10.2

Unix/macOs:

pip install pygn==0.10.2

pygn 0.10.12018-04-03T13:48:42Windows:

py -m pip install pygn==0.10.1

Unix/macOs:

pip install pygn==0.10.1

pygn 0.9.142015-01-05T12:08:15Windows:

py -m pip install pygn==0.9.14

Unix/macOs:

pip install pygn==0.9.14

pygn 0.9.132015-01-05T12:00:59Windows:

py -m pip install pygn==0.9.13

Unix/macOs:

pip install pygn==0.9.13

pygn 0.9.122015-01-03T08:18:58Windows:

py -m pip install pygn==0.9.12

Unix/macOs:

pip install pygn==0.9.12

pygn 0.9.112015-01-03T08:15:25Windows:

py -m pip install pygn==0.9.11

Unix/macOs:

pip install pygn==0.9.11

pygn 0.9.102015-01-03T08:01:12Windows:

py -m pip install pygn==0.9.10

Unix/macOs:

pip install pygn==0.9.10


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pygn_downloaded_file>

On Unix/macOs:

pip install <path_to_pygn_downloaded_file>


List distribution:


Project link:

- Homepage