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


Groups > comp.lang.python > #87495 > unrolled thread

Setuptools: no module named 'html.entities'

Started byJason Friedman <jsf80238@gmail.com>
First post2015-03-15 17:53 -0600
Last post2015-03-15 17:53 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#87495 — Setuptools: no module named 'html.entities'

FromJason Friedman <jsf80238@gmail.com>
Date2015-03-15 17:53 -0600
SubjectSetuptools: no module named 'html.entities'
Message-ID<mailman.404.1426463648.21433.python-list@python.org>

[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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web