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

How to install pysrt via python pip




pysrt - SubRip (.srt) subtitle parser and writer, it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License (GPL)
- Operating System :: OS Independent
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Topic :: Multimedia
- Topic :: Multimedia :: Video
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Text Processing
- Topic :: Text Processing :: Markup

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



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_pysrt_env

- Active the virtual environment

test_pysrt_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_pysrt_env

- Active the virtual environment

source test_pysrt_env/bin/active


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

To install pysrt on Windows(CMD):

py -m pip install pysrt

To install pysrt on Unix/macOs:

pip install pysrt


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

Example:

pip install pysrt==0.1.0


Please see the version list below table:

VersionReleased dateCommand
pysrt 1.1.22020-01-20T15:22:28Windows:

py -m pip install pysrt==1.1.2

Unix/macOs:

pip install pysrt==1.1.2

pysrt 1.1.12016-04-23T13:34:23Windows:

py -m pip install pysrt==1.1.1

Unix/macOs:

pip install pysrt==1.1.1

pysrt 1.1.02016-03-06T15:11:49Windows:

py -m pip install pysrt==1.1.0

Unix/macOs:

pip install pysrt==1.1.0

pysrt 1.0.12014-02-13T22:10:25Windows:

py -m pip install pysrt==1.0.1

Unix/macOs:

pip install pysrt==1.0.1

pysrt 1.0.02014-01-16T02:16:25Windows:

py -m pip install pysrt==1.0.0

Unix/macOs:

pip install pysrt==1.0.0

pysrt 0.5.12013-11-10T18:36:06Windows:

py -m pip install pysrt==0.5.1

Unix/macOs:

pip install pysrt==0.5.1

pysrt 0.5.02013-09-01T15:56:27Windows:

py -m pip install pysrt==0.5.0

Unix/macOs:

pip install pysrt==0.5.0

pysrt 0.4.72013-06-28T13:36:49Windows:

py -m pip install pysrt==0.4.7

Unix/macOs:

pip install pysrt==0.4.7

pysrt 0.4.62013-04-01T20:47:16Windows:

py -m pip install pysrt==0.4.6

Unix/macOs:

pip install pysrt==0.4.6

pysrt 0.4.52013-01-13T16:14:40Windows:

py -m pip install pysrt==0.4.5

Unix/macOs:

pip install pysrt==0.4.5

pysrt 0.4.42012-11-28T00:18:45Windows:

py -m pip install pysrt==0.4.4

Unix/macOs:

pip install pysrt==0.4.4

pysrt 0.4.32012-08-11T17:38:01Windows:

py -m pip install pysrt==0.4.3

Unix/macOs:

pip install pysrt==0.4.3

pysrt 0.4.22012-06-17T16:34:56Windows:

py -m pip install pysrt==0.4.2

Unix/macOs:

pip install pysrt==0.4.2

pysrt 0.4.12012-01-18T23:05:22Windows:

py -m pip install pysrt==0.4.1

Unix/macOs:

pip install pysrt==0.4.1

pysrt 0.4.02012-01-02T08:52:08Windows:

py -m pip install pysrt==0.4.0

Unix/macOs:

pip install pysrt==0.4.0

pysrt 0.3.12011-07-20T21:23:03Windows:

py -m pip install pysrt==0.3.1

Unix/macOs:

pip install pysrt==0.3.1

pysrt 0.3.02011-06-09T14:30:47Windows:

py -m pip install pysrt==0.3.0

Unix/macOs:

pip install pysrt==0.3.0

pysrt 0.2.72011-04-28T22:25:58Windows:

py -m pip install pysrt==0.2.7

Unix/macOs:

pip install pysrt==0.2.7

pysrt 0.2.62011-04-28T18:52:54Windows:

py -m pip install pysrt==0.2.6

Unix/macOs:

pip install pysrt==0.2.6

pysrt 0.2.52010-12-30T15:54:12Windows:

py -m pip install pysrt==0.2.5

Unix/macOs:

pip install pysrt==0.2.5

pysrt 0.2.42010-05-23T20:56:56Windows:

py -m pip install pysrt==0.2.4

Unix/macOs:

pip install pysrt==0.2.4

pysrt 0.2.32010-03-18T09:33:29Windows:

py -m pip install pysrt==0.2.3

Unix/macOs:

pip install pysrt==0.2.3

pysrt 0.2.22009-11-07T18:14:24Windows:

py -m pip install pysrt==0.2.2

Unix/macOs:

pip install pysrt==0.2.2

pysrt 0.2.12009-11-05T14:16:29Windows:

py -m pip install pysrt==0.2.1

Unix/macOs:

pip install pysrt==0.2.1

pysrt 0.2.02009-10-31T18:45:19Windows:

py -m pip install pysrt==0.2.0

Unix/macOs:

pip install pysrt==0.2.0

pysrt 0.1.72009-10-19T23:39:50Windows:

py -m pip install pysrt==0.1.7

Unix/macOs:

pip install pysrt==0.1.7

pysrt 0.1.62009-10-19T20:44:24Windows:

py -m pip install pysrt==0.1.6

Unix/macOs:

pip install pysrt==0.1.6

pysrt 0.1.52009-10-18T09:41:18Windows:

py -m pip install pysrt==0.1.5

Unix/macOs:

pip install pysrt==0.1.5

pysrt 0.1.42009-10-18T09:28:52Windows:

py -m pip install pysrt==0.1.4

Unix/macOs:

pip install pysrt==0.1.4

pysrt 0.1.32009-10-17T19:37:51Windows:

py -m pip install pysrt==0.1.3

Unix/macOs:

pip install pysrt==0.1.3

pysrt 0.1.22009-07-14T17:43:52Windows:

py -m pip install pysrt==0.1.2

Unix/macOs:

pip install pysrt==0.1.2

pysrt 0.1.12009-07-12T22:12:23Windows:

py -m pip install pysrt==0.1.1

Unix/macOs:

pip install pysrt==0.1.1

pysrt 0.1.02009-07-12T14:24:07Windows:

py -m pip install pysrt==0.1.0

Unix/macOs:

pip install pysrt==0.1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pysrt_downloaded_file>

On Unix/macOs:

pip install <path_to_pysrt_downloaded_file>


List distribution:


Project link:

- Homepage