Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87495

Setuptools: no module named 'html.entities'

Date 2015-03-15 17:53 -0600
Subject Setuptools: no module named 'html.entities'
From Jason Friedman <jsf80238@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.404.1426463648.21433.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

This is Python 3.3.2 on Linux.
I downloaded Setuptools (
https://pypi.python.org/packages/source/s/setuptools/setuptools-14.3.tar.gz),
exploded the tarball, and I get:

python setup.py build
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1521, in
_find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    exec(init_file.read(), command_ns)
  File "<string>", line 11, in <module>
  File "/home/spjsf/setuptools-14.3/setuptools/__init__.py", line 11, in
<module>
    from setuptools.extension import Extension
  File "/home/spjsf/setuptools-14.3/setuptools/extension.py", line 8, in
<module>
    from .dist import _get_unpatched
  File "/home/spjsf/setuptools-14.3/setuptools/dist.py", line 16, in
<module>
    from setuptools.depends import Require
  File "/home/spjsf/setuptools-14.3/setuptools/depends.py", line 6, in
<module>
    from setuptools import compat
  File "/home/spjsf/setuptools-14.3/setuptools/compat.py", line 44, in
<module>
    from html.entities import name2codepoint
ImportError: No module named 'html.entities'; html is not a package

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Setuptools: no module named 'html.entities' Jason Friedman <jsf80238@gmail.com> - 2015-03-15 17:53 -0600

csiph-web