Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation broken. #330

Closed
robclemamzn opened this issue Oct 6, 2023 · 4 comments
Closed

installation broken. #330

robclemamzn opened this issue Oct 6, 2023 · 4 comments

Comments

@robclemamzn
Copy link

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
Copy link
Contributor

bbayles commented Oct 6, 2023

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
Copy link
Author

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>

@nedmax
Copy link

nedmax commented Feb 13, 2024

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

@mauricioabreu
Copy link
Member

Thank you @nedmax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants