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

How to install tinify via python pip




tinify - Tinify API client., it belongs to Classifiers:

- Programming Language :: Python :: 2.6

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



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_tinify_env

- Active the virtual environment

test_tinify_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_tinify_env

- Active the virtual environment

source test_tinify_env/bin/active


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

To install tinify on Windows(CMD):

py -m pip install tinify

To install tinify on Unix/macOs:

pip install tinify


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

Example:

pip install tinify==0.9.0


Please see the version list below table:

VersionReleased dateCommand
tinify 1.5.22021-09-30T09:32:24Windows:

py -m pip install tinify==1.5.2

Unix/macOs:

pip install tinify==1.5.2

tinify 1.5.12017-07-17T08:57:30Windows:

py -m pip install tinify==1.5.1

Unix/macOs:

pip install tinify==1.5.1

tinify 1.5.02017-02-16T12:31:44Windows:

py -m pip install tinify==1.5.0

Unix/macOs:

pip install tinify==1.5.0

tinify 1.4.02016-12-22T07:40:29Windows:

py -m pip install tinify==1.4.0

Unix/macOs:

pip install tinify==1.4.0

tinify 1.3.02016-04-01T09:05:43Windows:

py -m pip install tinify==1.3.0

Unix/macOs:

pip install tinify==1.3.0

tinify 1.2.02016-01-29T13:11:00Windows:

py -m pip install tinify==1.2.0

Unix/macOs:

pip install tinify==1.2.0

tinify 1.1.02015-08-28T08:37:02Windows:

py -m pip install tinify==1.1.0

Unix/macOs:

pip install tinify==1.1.0

tinify 0.9.02015-08-06T10:00:31Windows:

py -m pip install tinify==0.9.0

Unix/macOs:

pip install tinify==0.9.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_tinify_downloaded_file>

On Unix/macOs:

pip install <path_to_tinify_downloaded_file>


List distribution:


Project link:

- Homepage