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

How to install LAC via python pip




LAC - A chinese lexical analysis tool by Baidu NLP., it belongs to Classifiers:

- License :: OSI Approved :: Apache Software License

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



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_LAC_env

- Active the virtual environment

test_LAC_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_LAC_env

- Active the virtual environment

source test_LAC_env/bin/active


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

To install LAC on Windows(CMD):

py -m pip install LAC

To install LAC on Unix/macOs:

pip install LAC


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

Example:

pip install LAC==0.1.0


Please see the version list below table:

VersionReleased dateCommand
LAC 2.1.22021-05-25T10:14:20Windows:

py -m pip install LAC==2.1.2

Unix/macOs:

pip install LAC==2.1.2

LAC 2.1.12021-01-06T02:43:04Windows:

py -m pip install LAC==2.1.1

Unix/macOs:

pip install LAC==2.1.1

LAC 2.1.02021-01-04T03:52:53Windows:

py -m pip install LAC==2.1.0

Unix/macOs:

pip install LAC==2.1.0

LAC 2.0.52020-08-20T07:22:56Windows:

py -m pip install LAC==2.0.5

Unix/macOs:

pip install LAC==2.0.5

LAC 2.0.42020-07-07T08:13:30Windows:

py -m pip install LAC==2.0.4

Unix/macOs:

pip install LAC==2.0.4

LAC 2.0.32020-06-12T08:27:06Windows:

py -m pip install LAC==2.0.3

Unix/macOs:

pip install LAC==2.0.3

LAC 2.0.22020-06-11T03:13:32Windows:

py -m pip install LAC==2.0.2

Unix/macOs:

pip install LAC==2.0.2

LAC 2.0.12020-06-04T12:47:20Windows:

py -m pip install LAC==2.0.1

Unix/macOs:

pip install LAC==2.0.1

LAC 2.0.02020-05-21T03:42:08Windows:

py -m pip install LAC==2.0.0

Unix/macOs:

pip install LAC==2.0.0

LAC 0.1.52020-05-18T03:06:55Windows:

py -m pip install LAC==0.1.5

Unix/macOs:

pip install LAC==0.1.5

LAC 0.1.42020-05-13T02:45:34Windows:

py -m pip install LAC==0.1.4

Unix/macOs:

pip install LAC==0.1.4

LAC 0.1.32020-05-12T07:30:13Windows:

py -m pip install LAC==0.1.3

Unix/macOs:

pip install LAC==0.1.3

LAC 0.1.22020-05-11T17:32:11Windows:

py -m pip install LAC==0.1.2

Unix/macOs:

pip install LAC==0.1.2

LAC 0.1.12020-05-10T17:56:44Windows:

py -m pip install LAC==0.1.1

Unix/macOs:

pip install LAC==0.1.1

LAC 0.1.02020-05-10T17:30:37Windows:

py -m pip install LAC==0.1.0

Unix/macOs:

pip install LAC==0.1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_LAC_downloaded_file>

On Unix/macOs:

pip install <path_to_LAC_downloaded_file>


List distribution:

- LAC-0.1.0.tar.gz
- LAC-0.1.1.tar.gz
- LAC-0.1.2.tar.gz
- LAC-0.1.3.tar.gz
- LAC-0.1.4.tar.gz
- LAC-0.1.5.tar.gz
- LAC-2.0.0.tar.gz
- LAC-2.0.1.tar.gz
- LAC-2.0.2.tar.gz
- LAC-2.0.3.tar.gz
- LAC-2.0.4.tar.gz
- LAC-2.0.5.tar.gz
- LAC-2.1.0.tar.gz
- LAC-2.1.1.tar.gz
- LAC-2.1.2.tar.gz


Project link:

- Homepage