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

How to install libconfig via python pip




libconfig - Library Configuration Library, it belongs to Classifiers:

- Topic :: Software Development :: Build Tools

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



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_libconfig_env

- Active the virtual environment

test_libconfig_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_libconfig_env

- Active the virtual environment

source test_libconfig_env/bin/active


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

To install libconfig on Windows(CMD):

py -m pip install libconfig

To install libconfig on Unix/macOs:

pip install libconfig


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

Example:

pip install libconfig==0.5.0


Please see the version list below table:

VersionReleased dateCommand
libconfig 0.9.22019-07-19T07:29:12Windows:

py -m pip install libconfig==0.9.2

Unix/macOs:

pip install libconfig==0.9.2

libconfig 0.9.12019-04-03T16:26:38Windows:

py -m pip install libconfig==0.9.1

Unix/macOs:

pip install libconfig==0.9.1

libconfig 0.9.02019-02-05T15:52:28Windows:

py -m pip install libconfig==0.9.0

Unix/macOs:

pip install libconfig==0.9.0

libconfig 0.8.02018-11-23T10:48:24Windows:

py -m pip install libconfig==0.8.0

Unix/macOs:

pip install libconfig==0.8.0

libconfig 0.7.02018-11-21T16:10:33Windows:

py -m pip install libconfig==0.7.0

Unix/macOs:

pip install libconfig==0.7.0

libconfig 0.6.72018-04-10T18:32:25Windows:

py -m pip install libconfig==0.6.7

Unix/macOs:

pip install libconfig==0.6.7

libconfig 0.6.62018-04-10T14:14:37Windows:

py -m pip install libconfig==0.6.6

Unix/macOs:

pip install libconfig==0.6.6

libconfig 0.6.52018-04-10T09:40:42Windows:

py -m pip install libconfig==0.6.5

Unix/macOs:

pip install libconfig==0.6.5

libconfig 0.6.02018-04-05T08:03:48Windows:

py -m pip install libconfig==0.6.0

Unix/macOs:

pip install libconfig==0.6.0

libconfig 0.5.02018-04-04T13:27:05Windows:

py -m pip install libconfig==0.5.0

Unix/macOs:

pip install libconfig==0.5.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_libconfig_downloaded_file>

On Unix/macOs:

pip install <path_to_libconfig_downloaded_file>


List distribution:

- libconfig-0.5.0.tar.gz
- libconfig-0.6.0.tar.gz
- libconfig-0.6.5.tar.gz
- libconfig-0.6.6.tar.gz
- libconfig-0.6.7.tar.gz
- libconfig-0.7.0.tar.gz
- libconfig-0.8.0.tar.gz
- libconfig-0.9.0.tar.gz
- libconfig-0.9.1.tar.gz
- libconfig-0.9.2.tar.gz


Project link:

- Homepage