python - Cannot install html package with pip in virtualenv -
in root project folder have created virtual environment python 3.4 using following commands:
$ virtualenv -p /library/frameworks/python.framework/versions/3.4/bin/python3.4 venv $ source venv/bin/activate
now install packages pip project , do:
$ venv/bin/pip install html
and following error (full traceback except have replaced path '...'):
collecting html using cached html-1.16.tar.gz complete output command python setup.py egg_info: traceback (most recent call last): file "<frozen importlib._bootstrap>", line 2218, in _find_and_load_unlocked attributeerror: 'module' object has no attribute '__path__' during handling of above exception, exception occurred: traceback (most recent call last): file "<string>", line 3, in <module> file ".../venv/lib/python3.4/site-packages/setuptools/__init__.py", line 11, in <module> setuptools.extension import extension file ".../venv/lib/python3.4/site-packages/setuptools/extension.py", line 8, in <module> .dist import _get_unpatched file ".../venv/lib/python3.4/site-packages/setuptools/dist.py", line 16, in <module> setuptools.depends import require file ".../venv/lib/python3.4/site-packages/setuptools/depends.py", line 6, in <module> setuptools import compat file ".../venv/lib/python3.4/site-packages/setuptools/compat.py", line 44, in <module> html.entities import name2codepoint importerror: no module named 'html.entities'; 'html' not package ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /private/var/folders/xz/15p_y6cn09bdc55vkvx6vrd80000gn/t/pip-build-lgl2qvpz/html
note can install package without problems globally python 2.7.5 default version on mac.
the package trying install one: https://pypi.python.org/pypi/html/1.16
Comments
Post a Comment