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

How to install tsr via python pip




tsr - TSR on command-line, it belongs to Classifiers:

- Development Status :: 1 - Planning
- Intended Audience :: End Users/Desktop
- License :: OSI Approved :: MIT License
- Natural Language :: English
- Operating System :: MacOS
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: Microsoft :: Windows :: Windows 7
- Operating System :: Microsoft :: Windows :: Windows 8
- Operating System :: Microsoft :: Windows :: Windows 8.1
- Operating System :: Microsoft :: Windows :: Windows 10
- Operating System :: POSIX
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: 3.7
- Topic :: Internet
- Topic :: Internet :: WWW/HTTP
- Topic :: Terminals
- Topic :: Text Processing

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



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_tsr_env

- Active the virtual environment

test_tsr_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_tsr_env

- Active the virtual environment

source test_tsr_env/bin/active


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

To install tsr on Windows(CMD):

py -m pip install tsr

To install tsr on Unix/macOs:

pip install tsr


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

Example:

pip install tsr==0.0.1.dev1                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
tsr 0.0.32018-07-11T08:54:29Windows:

py -m pip install tsr==0.0.3

Unix/macOs:

pip install tsr==0.0.3

tsr 0.0.12018-04-17T19:06:55Windows:

py -m pip install tsr==0.0.1

Unix/macOs:

pip install tsr==0.0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_tsr_downloaded_file>

On Unix/macOs:

pip install <path_to_tsr_downloaded_file>


List distribution:


Project link: