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

ImportError: No module named html.parser #237

Closed
nnarlawar-snap opened this issue Sep 29, 2022 · 1 comment
Closed

ImportError: No module named html.parser #237

nnarlawar-snap opened this issue Sep 29, 2022 · 1 comment

Comments

@nnarlawar-snap
Copy link

#16 1.689 Processing /python-xmlsec
#16 1.715 Installing build dependencies: started
#16 5.536 Installing build dependencies: finished with status 'done'
#16 5.539 Getting requirements to build wheel: started
#16 5.699 Getting requirements to build wheel: finished with status 'error'
#16 5.699 ERROR: Command errored out with exit status 1:
#16 5.699 command: /usr/local/bin/python /opt/python2.7/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpYO7DXx
#16 5.699 cwd: /tmp/pip-req-build-YXMTUX
#16 5.699 Complete output (18 lines):
#16 5.699 Traceback (most recent call last):
#16 5.699 File "/opt/python2.7/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in
#16 5.699 main()
#16 5.699 File "/opt/python2.7/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
#16 5.699 json_out['return_val'] = hook(**hook_input['kwargs'])
#16 5.699 File "/opt/python2.7/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
#16 5.699 return hook(config_settings)
#16 5.699 File "/tmp/pip-build-env-U_pXat/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
#16 5.699 return self._get_build_requires(config_settings, requirements=['wheel'])
#16 5.699 File "/tmp/pip-build-env-U_pXat/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
#16 5.699 self.run_setup()
#16 5.699 File "/tmp/pip-build-env-U_pXat/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 243, in run_setup
#16 5.699 self).run_setup(setup_script=setup_script)
#16 5.699 File "/tmp/pip-build-env-U_pXat/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 142, in run_setup
#16 5.699 exec(compile(code, file, 'exec'), locals())
#16 5.699 File "setup.py", line 2, in
#16 5.699 import html.parser
#16 5.699 ImportError: No module named html.parser

@hoefling
Copy link
Member

You need Python 3.5 or newer; the support for Python 2.7 was removed in 1.3.10.

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