brpaz / ulauncher-github

Ulauncher Extension that provides quick access to common GitHub functionality like your repositories or gists.
https://ext.ulauncher.io/-/github-brpaz-ulauncher-github
MIT License
45 stars 12 forks source link

[Bug]: Error on installing dependencies #20

Closed hrqmonteiro closed 1 year ago

hrqmonteiro commented 1 year ago

Description?

[hrq@fedora ~]$ pip install -r https://github.com/brpaz/ulauncher-github/blob/master/requirements.txt
Defaulting to user installation because normal site-packages is not writeable
WARNING: Cache entry deserialization failed, entry ignored
ERROR: Invalid requirement: '<!DOCTYPE html>' (from line 8 of https://github.com/brpaz/ul

Extension Logs

None
julianhille commented 1 year ago

have a look at: #21 or try this: pip install -r https://raw.githubusercontent.com/brpaz/ulauncher-github/master/requirements.txt

hrqmonteiro commented 1 year ago

have a look at: #21 or try this: pip install -r https://raw.githubusercontent.com/brpaz/ulauncher-github/master/requirements.txt

Now it gives me another error:

Screenshot from 2022-09-28 09-01-06

pip install -r https://raw.githubusercontent.com/brpaz/ulauncher-github/master/requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Invalid requirement: 'pygithub=~1.55' (from line 1 of https://raw.githubusercontent.com/brpaz/ulauncher-github/master/requirements.txt)
julianhille commented 1 year ago

Sorry did not check if that works, i'm not using this module nor maintain it, i'm just a passerby :P. The requirement format/syntax is invalid here.

short solution which should work for you:

pip install pygithub=~1.55.0 requests
julianhille commented 1 year ago

for the sake of completeness here is the other fix as a PR: https://github.com/brpaz/ulauncher-github/pull/22