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

How to install wmflib via python pip




wmflib - Generic library for common tasks in the WMF production infrastructure, it belongs to Classifiers:

- Development Status :: 2 - Pre-Alpha
- Environment :: Console
- Intended Audience :: System Administrators
- License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
- Operating System :: MacOS
- Operating System :: MacOS :: MacOS X
- Operating System :: POSIX :: BSD
- Operating System :: POSIX :: Linux
- Programming Language :: Python :: 3 :: Only
- Topic :: System
- Topic :: System :: Systems Administration

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



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_wmflib_env

- Active the virtual environment

test_wmflib_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_wmflib_env

- Active the virtual environment

source test_wmflib_env/bin/active


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

To install wmflib on Windows(CMD):

py -m pip install wmflib

To install wmflib on Unix/macOs:

pip install wmflib


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

Example:

pip install wmflib==0.0.2


Please see the version list below table:

VersionReleased dateCommand
wmflib 1.2.02022-04-04T10:44:27Windows:

py -m pip install wmflib==1.2.0

Unix/macOs:

pip install wmflib==1.2.0

wmflib 1.1.22022-03-09T21:55:49Windows:

py -m pip install wmflib==1.1.2

Unix/macOs:

pip install wmflib==1.1.2

wmflib 1.0.22022-02-14T19:11:36Windows:

py -m pip install wmflib==1.0.2

Unix/macOs:

pip install wmflib==1.0.2

wmflib 1.0.12022-02-09T10:15:27Windows:

py -m pip install wmflib==1.0.1

Unix/macOs:

pip install wmflib==1.0.1

wmflib 1.0.02021-11-11T14:22:38Windows:

py -m pip install wmflib==1.0.0

Unix/macOs:

pip install wmflib==1.0.0

wmflib 0.0.92021-08-04T09:11:18Windows:

py -m pip install wmflib==0.0.9

Unix/macOs:

pip install wmflib==0.0.9

wmflib 0.0.82021-06-24T13:30:26Windows:

py -m pip install wmflib==0.0.8

Unix/macOs:

pip install wmflib==0.0.8

wmflib 0.0.72021-02-19T11:31:03Windows:

py -m pip install wmflib==0.0.7

Unix/macOs:

pip install wmflib==0.0.7

wmflib 0.0.62021-01-04T12:00:09Windows:

py -m pip install wmflib==0.0.6

Unix/macOs:

pip install wmflib==0.0.6

wmflib 0.0.52020-12-21T18:15:59Windows:

py -m pip install wmflib==0.0.5

Unix/macOs:

pip install wmflib==0.0.5

wmflib 0.0.42020-11-02T12:04:16Windows:

py -m pip install wmflib==0.0.4

Unix/macOs:

pip install wmflib==0.0.4

wmflib 0.0.32020-10-23T10:57:15Windows:

py -m pip install wmflib==0.0.3

Unix/macOs:

pip install wmflib==0.0.3

wmflib 0.0.22020-09-24T10:31:13Windows:

py -m pip install wmflib==0.0.2

Unix/macOs:

pip install wmflib==0.0.2


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_wmflib_downloaded_file>

On Unix/macOs:

pip install <path_to_wmflib_downloaded_file>


List distribution:


Project link:

- Homepage