m3u8 icon indicating copy to clipboard operation
m3u8 copied to clipboard

installation broken.

Open robclemamzn opened this issue 1 year ago • 3 comments

The package needs clear working setup instructions.

currently i get: % ./setup.py ./setup.py: line 1: from: command not found ./setup.py: line 3: from: command not found ./setup.py: line 5: long_description: command not found ./setup.py: line 6: syntax error near unexpected token "README.rst"' ./setup.py: line 6: if exists("README.rst"):'

robclemamzn avatar Oct 06 '23 15:10 robclemamzn

As with most other Python packages, installation is done with pip.

To install the currently released version, do pip install m3u8.

To install from a local copy, do pip install ..

It might be a good idea to spell this out in the project's readme, but this is the most common method for installing Python projects and it would be surprising if the installation needed to work some other way.

bbayles avatar Oct 06 '23 15:10 bbayles

This seems to sidestep the problem for both modules iso8601 and m3u8

python -m pip install --upgrade --no-cache-dir --use-deprecated=legacy-resolver <your_package>

robclemamzn avatar Oct 06 '23 16:10 robclemamzn

Instructions by @bbayles worked for me. Created an wiki page: https://github.com/globocom/m3u8/wiki/Installing

nedmax avatar Feb 13 '24 13:02 nedmax

Thank you @nedmax

mauricioabreu avatar May 10 '24 23:05 mauricioabreu