python - html5lib cannot be found in bleach installation -
i'm installing tensorflow-gpu on centos6.5(python3.5) requires tensor-board requires bleach==1.5.0 requires:
collecting html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 (from bleach==1.5.0)
so installed html5lib 0.9999999(7 nines) source:
python setup.py install
and verified installation import html5lib in python:
python 3.5.0 (default, sep 10 2017, 00:16:28) [gcc 4.4.7 20120313 (red hat 4.4.7-4)] on linux type "help", "copyright", "credits" or "license" more information. >>> import html5lib >>>
seems successful. tried install bleach1.5.0:
$ sudo pip install bleach-1.5.0-py2.py3-none-any.whl processing ./bleach-1.5.0-py2.py3-none-any.whl collecting html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 (from bleach==1.5.0)
and error occured :
could not find version satisfies requirement html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 (from bleach==1.5.0) (from versions: ) no matching distribution found html5lib!=0.9999,!=0.99999, <0.99999999,>=0.999 (from bleach==1.5.0)
for reason installing computer has no network connection. download required whl files , tar.gz computer , upload installing computer. tried html5lib 0.999, didn't work either , report same error. refered oneenter link description here, , ensure 6 1.10.0 has been installed.
after tossing-about, found there several versions of html5lib in python_path/lib/python3.5/site-packages/ :
html5lib html5lib-0.999999999.dist-info html5lib-0.9999999-py3.5.egg-info html5lib-0.999999-py3.5.egg-info html5lib-0.999-py3.5.egg-info
the version 0.999999999(9 nines) firstly installed , dominates among others. why system cannot find required version(3 or 6 or 7 nines). deleted of these:
sudo -rf html5lib*
and reinstalled 7 nines version, worked @ last.
Comments
Post a Comment