ikreymer / webarchiveplayer

NOTE: This project is no longer being actively developed.. Check out Webrecorder Player for the latest player. https://github.com/webrecorder/webrecorderplayer-electron) (Legacy: Desktop application for browsing web archives (WARC and ARC)
GNU General Public License v3.0
195 stars 20 forks source link

error: requests 2.5.1 is installed but requests<3,>=2.9.1 is required by set(['tldextract']) #25

Closed jvw1954 closed 8 years ago

jvw1954 commented 8 years ago
jaap@jaap:/opt$ cat /etc/debian_version
8.4
jaap@jaap:/opt$ uname -a
Linux jaap 4.4.0-0.bpo.1-amd64 #1 SMP Debian 4.4.6-1~bpo8+1 (2016-03-20) x86_64 GNU/Linux
jaap@jaap:/opt$ git clone https://github.com/ikreymer/webarchiveplayer.git; cd webarchiveplayer
Cloning into 'webarchiveplayer'...
remote: Counting objects: 401, done.
remote: Total 401 (delta 0), reused 0 (delta 0), pack-reused 401
Receiving objects: 100% (401/401), 132.99 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (223/223), done.
Checking connectivity... done.
/opt/webarchiveplayer
jaap@jaap:/opt/webarchiveplayer$ python setup.py install
running install
running bdist_egg
running egg_info
...
Installed /usr/local/lib/python2.7/dist-packages/tldextract-2.0rc1-py2.7.egg
Searching for requests-file>=1.4
Reading https://pypi.python.org/simple/requests-file/
Best match: requests-file 1.4
Downloading https://pypi.python.org/packages/source/r/requests-file/requests-file-1.4.tar.gz#md5=fe475905d26986ee5fe77d9bcae3efcb
Processing requests-file-1.4.tar.gz
Writing /tmp/easy_install-smkdnc/requests-file-1.4/setup.cfg
Running requests-file-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-smkdnc/requests-file-1.4/egg-dist-tmp-NW3O5e
zip_safe flag not set; analyzing archive contents...
Moving requests_file-1.4-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding requests-file 1.4 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests_file-1.4-py2.7.egg
error: requests 2.5.1 is installed but requests<3,>=2.9.1 is required by set(['tldextract'])
jaap@jaap:/opt/webarchiveplayer
peterhhchan commented 8 years ago

I get this problem as well. setup.py is forcing requests 2.5.1.

jvw1954 commented 8 years ago

OK. I changed '2.5.1' on line 38 of setup.py in '2.9.1' and Webarchiveplayer installs and runs! https://github.com/ikreymer/webarchiveplayer/blob/master/setup.py

ikreymer commented 8 years ago

Hi, sorry for the delay, i've been travelling.. Yes, I think that its time to update to later version. I think there was an issue with pyinstaller and later versions of requests, but I hope that it is fixed now. I will update in the next release.

ikreymer commented 8 years ago

Latest release works with latest requests