Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python2.7 ImportError: No module named entities #120

Open
l123456789jy opened this issue Nov 29, 2019 · 1 comment
Open

python2.7 ImportError: No module named entities #120

l123456789jy opened this issue Nov 29, 2019 · 1 comment

Comments

@l123456789jy
Copy link

pip install html2text

Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting html2text
Downloading https://mirrors.aliyun.com/pypi/packages/81/41/0aba42dac6d0ffe0a721f7fe353acc70a4cf284facdb8763f4591961dd0b/html2text-2019.9.26.tar.gz (48kB)
|████████████████████████████████| 51kB 18.1MB/s
ERROR: Command errored out with exit status 1:
command: /bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g4Ldjw/html2text/setup.py'"'"'; file='"'"'/tmp/pip-install-g4Ldjw/html2text/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-g4Ldjw/html2text/pip-egg-info
cwd: /tmp/pip-install-g4Ldjw/html2text/
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-g4Ldjw/html2text/setup.py", line 11, in
version=".".join(map(str, import("html2text").version)),
File "html2text/init.py", line 3, in
import html.entities
ImportError: No module named entities
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@l123456789jy l123456789jy changed the title python2.7 python2.7 ImportError: No module named entities Nov 29, 2019
@liamengland1
Copy link

#116 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants