pip - Trying to install Python's html5lib I get "python setup.py egg_info" failed with error code 1 -


in order install python's ´html5lib´ have installed latest version of setuptools:

sudo pip install setuptools --upgrade 

and got installed:

/library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: snimissingwarning: https request has been made, sni (subject name indication) extension tls not available on platform. may cause server present incorrect tls certificate, can cause validation failures. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. snimissingwarning /library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. insecureplatformwarning collecting setuptools downloading setuptools-25.1.6-py2.py3-none-any.whl (442kb) 100% |████████████████████████████████| 450kb 658kb/s installing collected packages: setuptools found existing installation: setuptools 0.6c12dev-r85381   uninstalling setuptools-0.6c12dev-r85381:   uninstalled setuptools-0.6c12dev-r85381 installed setuptools-25.1.6 

but when tried install ´html5lib´:

wanzos-mac-mini:python wanzo$ pip install html5lib collecting html5lib /library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: snimissingwarning: https request has been made, sni (subject name indication) extension tls not available on platform. may cause server present incorrect tls certificate, can cause validation failures. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. snimissingwarning /library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. insecureplatformwarning using cached html5lib-0.999999999.tar.gz complete output command python setup.py egg_info: html5lib requires setuptools version 18.5 or above; please upgrade before installing (you have 0.6c12)  ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /private/var/folders/vg/h8_286qs7cq4rcr2jfgdqb2h0000gn/t/pip-build-4h6oar/html5lib/ 

it returned "python setup.py egg_info" failed error code 1" python version 2.7.1 , 19.01.2012 build mac os x.

using configuration, had no problem installing ´lxml´and worked fine scripts tried. problem when try install ´html5lib´

to install it, tried "easy_install" got this:

wanzos-mac-mini:python wanzo$ sudo -h pip install easy_install collecting easy_install /library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: snimissingwarning: https request has been made, sni (subject name indication) extension tls not available on platform. may cause server present incorrect tls certificate, can cause validation failures. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.   snimissingwarning /library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. insecureplatformwarning not find version satisfies requirement easy_install (from versions: ) no matching distribution found easy_install /library/python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. can upgrade newer version of python solve this. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. insecureplatformwarning 

i'm unable install ´html5lib´ appreciated. thanks.


Comments