DocNow / diffengine

track changes to the news, where news is anything with an RSS feed
MIT License
178 stars 30 forks source link

diffengine installation fails on Ubuntu (htmldiff version) #41

Closed elks closed 4 years ago

elks commented 7 years ago

pip3 install --process-dependency-links diffengine fails on Ubuntu 17.04 with the following message:

Collecting htmldiff==0.2 (from diffengine) Could not find a version that satisfies the requirement htmldiff==0.2 (from diffengine) (from versions: 0.1) No matching distribution found for htmldiff==0.2 (from diffengine)

elks commented 7 years ago

pip3 install htmldiff successfully installs htmldiff-0.2, but even after running that separately, diffengine fails to install.

ruebot commented 7 years ago

@elks can you try pip3 install https://github.com/DocNow/diffengine/archive/master.zip

hugovk commented 6 years ago

I got the same error, installing separately worked (I used sudo, you might not need it):

[sudo] pip3 install https://github.com/edsu/htmldiff/tarball/master#egg=htmldiff-0.2
[sudo] pip3 install --process-dependency-links diffengine
kayiwa commented 6 years ago

Yeah I'm able to replicate this.

pulsys@libserv:~$ uname -a
Linux libserv 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
pulsys@libserv:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial
pulsys@libserv:~$ pip3 install https://github.com/DocNow/diffengine/archive/master.zip
Collecting https://github.com/DocNow/diffengine/archive/master.zip
  Downloading https://github.com/DocNow/diffengine/archive/master.zip
     \ 61kB 746kB/s
Collecting bleach (from diffengine===0.1.2)
  Downloading bleach-2.1.2-py2.py3-none-any.whl
Collecting genshi (from diffengine===0.1.2)
  Downloading Genshi-0.7.tar.gz (491kB)
    100% |████████████████████████████████| 501kB 2.5MB/s
Collecting jinja2 (from diffengine===0.1.2)
  Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB)
    100% |████████████████████████████████| 133kB 5.0MB/s
Collecting peewee==2.8.8 (from diffengine===0.1.2)
  Downloading peewee-2.8.8.tar.gz (513kB)
    100% |████████████████████████████████| 522kB 2.7MB/s
Collecting pillow (from diffengine===0.1.2)
  Downloading Pillow-5.0.0-cp35-cp35m-manylinux1_x86_64.whl (5.9MB)
    100% |████████████████████████████████| 5.9MB 323kB/s
Collecting pytest (from diffengine===0.1.2)
  Downloading pytest-3.4.1-py2.py3-none-any.whl (188kB)
    100% |████████████████████████████████| 194kB 5.7MB/s
Collecting pyyaml (from diffengine===0.1.2)
  Downloading PyYAML-3.12.tar.gz (253kB)
    100% |████████████████████████████████| 256kB 4.9MB/s
Collecting tweepy (from diffengine===0.1.2)
  Downloading tweepy-3.5.0-py2.py3-none-any.whl
Collecting requests (from diffengine===0.1.2)
  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 4.3MB/s
Collecting selenium (from diffengine===0.1.2)
  Downloading selenium-3.9.0-py2.py3-none-any.whl (942kB)
    100% |████████████████████████████████| 952kB 1.6MB/s
Collecting feedparser (from diffengine===0.1.2)
  Downloading feedparser-5.2.1.zip (1.2MB)
    100% |████████████████████████████████| 1.2MB 1.3MB/s
Collecting readability-lxml (from diffengine===0.1.2)
  Downloading readability-lxml-0.6.2.tar.gz
Collecting htmldiff==0.2 (from diffengine===0.1.2)
  Could not find a version that satisfies the requirement htmldiff==0.2 (from diffengine===0.1.2) (from versions: 0.1)
No matching distribution found for htmldiff==0.2 (from diffengine===0.1.2)
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
kayiwa commented 6 years ago

please try running this

pip3 install -U pip
pip3 install https://github.com/edsu/htmldiff/tarball/master#egg=htmldiff-0.2
sudo pip3 install https://github.com/DocNow/diffengine/archive/master.zip

That fixed that for me.

rmdes commented 5 years ago

I'm trying to get around this issue and I just can't find a solution...already tried all the proposed fixes on this thread, anyone have some idea to get this running on Ubuntu ?

kayiwa commented 5 years ago

heya @rikmendes Sorry for that. The gist here installs it on Ubuntu Bionic.

https://gist.github.com/kayiwa/a87f84d23d6402d44430c0c8e9c625a1

edsu commented 5 years ago

@rikmendes what error are you getting?

Also, if you are familiar with Docker you could give @ryanfb's docker_diffengine a try.