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

How to install baidu-trans-cli via python pip




baidu-trans-cli - use baidu translation api in terminal, it belongs to Classifiers:

- Natural Language :: Chinese (Simplified)
- Programming Language :: Python :: 3.3
- Topic :: System
- Topic :: System :: Distributed Computing
- Topic :: Terminals
- Topic :: Utilities

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



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_baidu-trans-cli_env

- Active the virtual environment

test_baidu-trans-cli_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_baidu-trans-cli_env

- Active the virtual environment

source test_baidu-trans-cli_env/bin/active


Step 2: OK, now, let flow below content to start the installation baidu-trans-cli

To install baidu-trans-cli on Windows(CMD):

py -m pip install baidu-trans-cli

To install baidu-trans-cli on Unix/macOs:

pip install baidu-trans-cli


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

Example:

pip install baidu-trans-cli==0.1.4


Please see the version list below table:

VersionReleased dateCommand
baidu-trans-cli 0.2.22018-12-28T07:30:58Windows:

py -m pip install baidu-trans-cli==0.2.2

Unix/macOs:

pip install baidu-trans-cli==0.2.2

baidu-trans-cli 0.2.12018-12-27T15:53:04Windows:

py -m pip install baidu-trans-cli==0.2.1

Unix/macOs:

pip install baidu-trans-cli==0.2.1

baidu-trans-cli 0.2.02018-12-27T15:38:43Windows:

py -m pip install baidu-trans-cli==0.2.0

Unix/macOs:

pip install baidu-trans-cli==0.2.0

baidu-trans-cli 0.1.52018-10-16T13:06:41Windows:

py -m pip install baidu-trans-cli==0.1.5

Unix/macOs:

pip install baidu-trans-cli==0.1.5

baidu-trans-cli 0.1.42018-09-30T10:20:00Windows:

py -m pip install baidu-trans-cli==0.1.4

Unix/macOs:

pip install baidu-trans-cli==0.1.4


Step 4: Otherwise, you can install baidu-trans-cli from local archives:

Download the distribution file from baidu_trans_cli-0.2.2-py3-none-any.whl or the specific baidu-trans-cli version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_baidu-trans-cli_downloaded_file>

On Unix/macOs:

pip install <path_to_baidu-trans-cli_downloaded_file>


List distribution:

- baidu_trans_cli-0.1.4-py3-none-any.whl
- baidu_trans_cli-0.1.5-py3-none-any.whl
- baidu_trans_cli-0.2.0-py3-none-any.whl
- baidu_trans_cli-0.2.1-py3-none-any.whl
- baidu_trans_cli-0.2.2-py3-none-any.whl


Project link:

- Homepage