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

How to install pkgconfig via python pip




pkgconfig - Interface Python with pkg-config, it belongs to Classifiers:

- Topic :: Software Development :: Build Tools

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



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_pkgconfig_env

- Active the virtual environment

test_pkgconfig_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_pkgconfig_env

- Active the virtual environment

source test_pkgconfig_env/bin/active


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

To install pkgconfig on Windows(CMD):

py -m pip install pkgconfig

To install pkgconfig on Unix/macOs:

pip install pkgconfig


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

Example:

pip install pkgconfig==0.0.1dev                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
pkgconfig 1.5.52021-07-19T18:49:50Windows:

py -m pip install pkgconfig==1.5.5

Unix/macOs:

pip install pkgconfig==1.5.5

pkgconfig 1.5.42021-06-03T14:08:09Windows:

py -m pip install pkgconfig==1.5.4

Unix/macOs:

pip install pkgconfig==1.5.4

pkgconfig 1.5.3 yanked2021-06-03T07:46:51Windows:

py -m pip install pkgconfig==1.5.3                                                                          yanked

Unix/macOs:

pip install pkgconfig==1.5.3                                                                          yanked

pkgconfig 1.5.22021-02-18T23:24:37Windows:

py -m pip install pkgconfig==1.5.2

Unix/macOs:

pip install pkgconfig==1.5.2

pkgconfig 1.5.12019-04-01T19:28:27Windows:

py -m pip install pkgconfig==1.5.1

Unix/macOs:

pip install pkgconfig==1.5.1

pkgconfig 1.5.02019-03-30T22:15:03Windows:

py -m pip install pkgconfig==1.5.0

Unix/macOs:

pip install pkgconfig==1.5.0

pkgconfig 1.4.02018-08-21T17:19:04Windows:

py -m pip install pkgconfig==1.4.0

Unix/macOs:

pip install pkgconfig==1.4.0

pkgconfig 1.3.12018-02-07T13:40:58Windows:

py -m pip install pkgconfig==1.3.1

Unix/macOs:

pip install pkgconfig==1.3.1

pkgconfig 1.3.02018-02-07T13:40:56Windows:

py -m pip install pkgconfig==1.3.0

Unix/macOs:

pip install pkgconfig==1.3.0

pkgconfig 1.2.22016-12-02T09:35:05Windows:

py -m pip install pkgconfig==1.2.2

Unix/macOs:

pip install pkgconfig==1.2.2

pkgconfig 1.2.12016-12-01T08:58:53Windows:

py -m pip install pkgconfig==1.2.1

Unix/macOs:

pip install pkgconfig==1.2.1

pkgconfig 1.2.02016-11-30T13:00:30Windows:

py -m pip install pkgconfig==1.2.0

Unix/macOs:

pip install pkgconfig==1.2.0

pkgconfig 1.1.02013-11-06T14:15:46Windows:

py -m pip install pkgconfig==1.1.0

Unix/macOs:

pip install pkgconfig==1.1.0

pkgconfig 1.0.02013-09-08T13:39:24Windows:

py -m pip install pkgconfig==1.0.0

Unix/macOs:

pip install pkgconfig==1.0.0

pkgconfig 0.1.02013-08-12T08:03:32Windows:

py -m pip install pkgconfig==0.1.0

Unix/macOs:

pip install pkgconfig==0.1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pkgconfig_downloaded_file>

On Unix/macOs:

pip install <path_to_pkgconfig_downloaded_file>


List distribution:


Project link:

- Homepage