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

How to install PyExifTool via python pip




PyExifTool - Python wrapper for exiftool, it belongs to Classifiers:

- Development Status :: 4 - Beta
- License :: OSI Approved :: BSD License
- License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
- Operating System :: OS Independent
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: 3.7
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
- Topic :: Multimedia
- Topic :: Utilities

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



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_PyExifTool_env

- Active the virtual environment

test_PyExifTool_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_PyExifTool_env

- Active the virtual environment

source test_PyExifTool_env/bin/active


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

To install PyExifTool on Windows(CMD):

py -m pip install PyExifTool

To install PyExifTool on Unix/macOs:

pip install PyExifTool


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

Example:

pip install PyExifTool==0.1


Please see the version list below table:

VersionReleased dateCommand
PyExifTool 0.5.32022-03-26T13:46:02Windows:

py -m pip install PyExifTool==0.5.3

Unix/macOs:

pip install PyExifTool==0.5.3

PyExifTool 0.5.22022-03-04T05:36:53Windows:

py -m pip install PyExifTool==0.5.2

Unix/macOs:

pip install PyExifTool==0.5.2

PyExifTool 0.5.02022-02-28T22:21:41Windows:

py -m pip install PyExifTool==0.5.0

Unix/macOs:

pip install PyExifTool==0.5.0

PyExifTool 0.4.132022-02-15T01:58:41Windows:

py -m pip install PyExifTool==0.4.13

Unix/macOs:

pip install PyExifTool==0.4.13

PyExifTool 0.4.112021-08-23T03:45:33Windows:

py -m pip install PyExifTool==0.4.11

Unix/macOs:

pip install PyExifTool==0.4.11

PyExifTool 0.4.92021-05-21T09:05:32Windows:

py -m pip install PyExifTool==0.4.9

Unix/macOs:

pip install PyExifTool==0.4.9

PyExifTool 0.4.72021-04-22T04:06:20Windows:

py -m pip install PyExifTool==0.4.7

Unix/macOs:

pip install PyExifTool==0.4.7

PyExifTool 0.4.52021-03-13T01:12:48Windows:

py -m pip install PyExifTool==0.4.5

Unix/macOs:

pip install PyExifTool==0.4.5

PyExifTool 0.1.12019-01-22T17:54:03Windows:

py -m pip install PyExifTool==0.1.1

Unix/macOs:

pip install PyExifTool==0.1.1

PyExifTool 0.12019-01-22T17:53:27Windows:

py -m pip install PyExifTool==0.1

Unix/macOs:

pip install PyExifTool==0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_PyExifTool_downloaded_file>

On Unix/macOs:

pip install <path_to_PyExifTool_downloaded_file>


List distribution:


Project link:

- Homepage
- Changelog
- Documentation
- Source
- Tracker