doonze / EmbyUpdate

A python script for automatically updating Emby to the latest version on Linux distros.
GNU Lesser General Public License v3.0
15 stars 3 forks source link

Cannot install/setup #5

Closed derekcentrico closed 2 years ago

derekcentrico commented 2 years ago

Apologies if I'm just ignorant here, but I'm not understanding the issue....

Using Ubuntu 20.04, Python default version 2.7.x.

sudo ./embyupdate.py

Traceback (most recent call last): File "./embyupdate.py", line 22, in import requests ImportError: No module named requests

python --version

Python 2.7.18

python embyupdate.py --config

Traceback (most recent call last): File "embyupdate.py", line 22, in import requests ImportError: No module named requests

Any thoughts on how to get going?

derekcentrico commented 2 years ago

Closing, doh moment. Forgot on this new machine to install pip dependencies.

doonze commented 2 years ago

I was just writing you that you needed to install requests. I tried really hard to use modules that were part of vanilla python, but now that this has come up I remember I did have to install requests to handle the GitHub API. The built-in HTTP for python was not able to do what I needed. I've always been meaning to spin up a VM with vanilla python to test what I had to install, what I have installed for other projects, and what not, to add a dependencies section to the readme.

The good thing is you've tested this out for me! So it seems all that's required is requests!

doonze commented 2 years ago

This has been added to the readme.

derekcentrico commented 2 years ago

Actually, they'll need requests and configparser.

python -m pip install requests configparser

On Mon, Jul 12, 2021 at 10:45 AM doonze @.***> wrote:

This has been added to the readme.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/doonze/EmbyUpdate/issues/5#issuecomment-878339547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOXG3TDBVGVHKBV7EKVJ5DTXL5ZNANCNFSM5AG3J3YQ .

doonze commented 2 years ago

Actually, they'll need requests and configparser. python -m pip install requests configparser On Mon, Jul 12, 2021 at 10:45 AM doonze @.***> wrote: This has been added to the readme. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOXG3TDBVGVHKBV7EKVJ5DTXL5ZNANCNFSM5AG3J3YQ .

Really? I would have thought configparser was built into python. I will add that as well. Thanks!