globocom / m3u8

Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions
Other
2.03k stars 471 forks source link

installation broken. #330

Closed robclemamzn closed 4 months ago

robclemamzn commented 12 months ago

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"):'

bbayles commented 12 months ago

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.

robclemamzn commented 12 months ago

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

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

nedmax commented 7 months ago

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

mauricioabreu commented 4 months ago

Thank you @nedmax