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

How to install PyGreSQL via python pip




PyGreSQL - Python PostgreSQL Interfaces, it belongs to Classifiers:

- Development Status :: 6 - Mature
- License :: OSI Approved :: PostgreSQL License
- Programming Language :: C
- Programming Language :: SQL
- Topic :: Database
- Topic :: Database :: Front-Ends

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



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_PyGreSQL_env

- Active the virtual environment

test_PyGreSQL_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_PyGreSQL_env

- Active the virtual environment

source test_PyGreSQL_env/bin/active


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

To install PyGreSQL on Windows(CMD):

py -m pip install PyGreSQL

To install PyGreSQL on Unix/macOs:

pip install PyGreSQL


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

Example:

pip install PyGreSQL==3.8.1


Please see the version list below table:

VersionReleased dateCommand
PyGreSQL 5.2.42022-03-26T20:06:26Windows:

py -m pip install PyGreSQL==5.2.4

Unix/macOs:

pip install PyGreSQL==5.2.4

PyGreSQL 5.2.32022-01-30T22:24:23Windows:

py -m pip install PyGreSQL==5.2.3

Unix/macOs:

pip install PyGreSQL==5.2.3

PyGreSQL 5.2.22020-12-09T12:54:44Windows:

py -m pip install PyGreSQL==5.2.2

Unix/macOs:

pip install PyGreSQL==5.2.2

PyGreSQL 5.2.12020-09-25T18:38:34Windows:

py -m pip install PyGreSQL==5.2.1

Unix/macOs:

pip install PyGreSQL==5.2.1

PyGreSQL 5.22020-06-21T17:18:51Windows:

py -m pip install PyGreSQL==5.2

Unix/macOs:

pip install PyGreSQL==5.2

PyGreSQL 5.1.22020-04-19T09:06:28Windows:

py -m pip install PyGreSQL==5.1.2

Unix/macOs:

pip install PyGreSQL==5.1.2

PyGreSQL 5.1.12020-03-05T17:07:24Windows:

py -m pip install PyGreSQL==5.1.1

Unix/macOs:

pip install PyGreSQL==5.1.1

PyGreSQL 5.12019-05-19T18:09:36Windows:

py -m pip install PyGreSQL==5.1

Unix/macOs:

pip install PyGreSQL==5.1

PyGreSQL 5.0.72019-05-19T18:07:05Windows:

py -m pip install PyGreSQL==5.0.7

Unix/macOs:

pip install PyGreSQL==5.0.7

PyGreSQL 5.0.62018-07-30T09:46:50Windows:

py -m pip install PyGreSQL==5.0.6

Unix/macOs:

pip install PyGreSQL==5.0.6

PyGreSQL 5.0.42017-07-26T15:52:24Windows:

py -m pip install PyGreSQL==5.0.4

Unix/macOs:

pip install PyGreSQL==5.0.4

PyGreSQL 5.0.32016-12-10T20:35:43Windows:

py -m pip install PyGreSQL==5.0.3

Unix/macOs:

pip install PyGreSQL==5.0.3

PyGreSQL 5.0.22016-09-14T07:55:22Windows:

py -m pip install PyGreSQL==5.0.2

Unix/macOs:

pip install PyGreSQL==5.0.2

PyGreSQL 5.0.12016-08-20T12:06:54Windows:

py -m pip install PyGreSQL==5.0.1

Unix/macOs:

pip install PyGreSQL==5.0.1

PyGreSQL 5.02016-03-21T23:11:34Windows:

py -m pip install PyGreSQL==5.0

Unix/macOs:

pip install PyGreSQL==5.0

PyGreSQL 4.2.22016-03-18T17:25:51Windows:

py -m pip install PyGreSQL==4.2.2

Unix/macOs:

pip install PyGreSQL==4.2.2

PyGreSQL 4.2.12016-02-19T17:57:45Windows:

py -m pip install PyGreSQL==4.2.1

Unix/macOs:

pip install PyGreSQL==4.2.1

PyGreSQL 4.22016-01-22T13:42:14Windows:

py -m pip install PyGreSQL==4.2

Unix/macOs:

pip install PyGreSQL==4.2

PyGreSQL 4.1.12013-01-14T22:59:04Windows:

py -m pip install PyGreSQL==4.1.1

Unix/macOs:

pip install PyGreSQL==4.1.1

PyGreSQL 4.12013-01-03T19:32:26Windows:

py -m pip install PyGreSQL==4.1

Unix/macOs:

pip install PyGreSQL==4.1

PyGreSQL 4.02009-06-30T19:28:14Windows:

py -m pip install PyGreSQL==4.0

Unix/macOs:

pip install PyGreSQL==4.0

PyGreSQL 3.8.12006-06-05T15:58:07Windows:

py -m pip install PyGreSQL==3.8.1

Unix/macOs:

pip install PyGreSQL==3.8.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_PyGreSQL_downloaded_file>

On Unix/macOs:

pip install <path_to_PyGreSQL_downloaded_file>


List distribution:


Project link:

- Homepage
- Download
- Documentation
- Issue Tracker
- Mailing List
- Source Code