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

How to install Flask-Locale via python pip




Flask-Locale - Adds i18n/l10n support to Flask applications easily. Uses CSV files(or database) to load translations., it belongs to Classifiers:

- Topic :: Internet :: WWW/HTTP :: Dynamic Content

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



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_Flask-Locale_env

- Active the virtual environment

test_Flask-Locale_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_Flask-Locale_env

- Active the virtual environment

source test_Flask-Locale_env/bin/active


Step 2: OK, now, let flow below content to start the installation Flask-Locale

To install Flask-Locale on Windows(CMD):

py -m pip install Flask-Locale

To install Flask-Locale on Unix/macOs:

pip install Flask-Locale


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

Example:

pip install Flask-Locale==0.2


Please see the version list below table:

VersionReleased dateCommand
Flask-Locale 1.0.42018-06-27T07:09:17Windows:

py -m pip install Flask-Locale==1.0.4

Unix/macOs:

pip install Flask-Locale==1.0.4

Flask-Locale 1.0.32018-02-26T09:10:10Windows:

py -m pip install Flask-Locale==1.0.3

Unix/macOs:

pip install Flask-Locale==1.0.3

Flask-Locale 1.0.22016-09-16T12:46:41Windows:

py -m pip install Flask-Locale==1.0.2

Unix/macOs:

pip install Flask-Locale==1.0.2

Flask-Locale 1.0.12016-09-16T12:36:16Windows:

py -m pip install Flask-Locale==1.0.1

Unix/macOs:

pip install Flask-Locale==1.0.1

Flask-Locale 1.0.02016-09-16T12:32:53Windows:

py -m pip install Flask-Locale==1.0.0

Unix/macOs:

pip install Flask-Locale==1.0.0

Flask-Locale 0.4.22015-12-14T07:39:20Windows:

py -m pip install Flask-Locale==0.4.2

Unix/macOs:

pip install Flask-Locale==0.4.2

Flask-Locale 0.4.12015-10-15T11:09:25Windows:

py -m pip install Flask-Locale==0.4.1

Unix/macOs:

pip install Flask-Locale==0.4.1

Flask-Locale 0.42015-10-15T10:45:34Windows:

py -m pip install Flask-Locale==0.4

Unix/macOs:

pip install Flask-Locale==0.4

Flask-Locale 0.32015-10-09T14:56:40Windows:

py -m pip install Flask-Locale==0.3

Unix/macOs:

pip install Flask-Locale==0.3

Flask-Locale 0.22015-10-09T14:46:46Windows:

py -m pip install Flask-Locale==0.2

Unix/macOs:

pip install Flask-Locale==0.2


Step 4: Otherwise, you can install Flask-Locale from local archives:

Download the distribution file from Flask-Locale-1.0.4.tar.gz or the specific Flask-Locale version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_Flask-Locale_downloaded_file>

On Unix/macOs:

pip install <path_to_Flask-Locale_downloaded_file>


List distribution:

- Flask-Locale-0.2.tar.gz
- Flask-Locale-0.3.tar.gz
- Flask-Locale-0.4.tar.gz
- Flask-Locale-0.4.1.tar.gz
- Flask-Locale-0.4.2.tar.gz
- Flask-Locale-1.0.0.tar.gz
- Flask-Locale-1.0.1.tar.gz
- Flask-Locale-1.0.2.tar.gz
- Flask-Locale-1.0.3.tar.gz
- Flask-Locale-1.0.4.tar.gz


Project link:

- Homepage