CAMI-challenge / OPAL

OPAL: Open-community Profiling Assessment tooL
https://cami-challenge.github.io/OPAL/
Apache License 2.0
25 stars 6 forks source link

ImportError: No module named 'html.parser'; 'html' is not a package #25

Closed sjanssen2 closed 6 years ago

sjanssen2 commented 6 years ago

I conda installed all dependencies in a fresh python=3.5 environment, but dendropy=4.3.0, which I pip installed, since I could not find a matching channel for this package. Next, I cloned the sources and tried python setup.py install, which fails with the following error:

Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, find_packages
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/__init__.py", line 14, in <module>
    from setuptools.dist import Distribution, Feature
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/dist.py", line 24, in <module>
    from setuptools.depends import Require
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/depends.py", line 7, in <module>
    from .py33compat import Bytecode
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/py33compat.py", line 11, in <module>
    from setuptools.extern.six.moves import html_parser
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/_vendor/six.py", line 92, in __get__
    result = self._resolve()
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/_vendor/six.py", line 115, in _resolve
    return _import_module(self.mod)
  File "/home/sjanssen/miniconda3/envs/opal/lib/python3.5/site-packages/setuptools/_vendor/six.py", line 82, in _import_module
    __import__(name)
ImportError: No module named 'html.parser'; 'html' is not a package
sjanssen2 commented 6 years ago

I bet we are in the same situation as described here: https://stackoverflow.com/questions/28876791/importerror-no-module-named-html-parser-html-is-not-a-package-python3

abremges commented 6 years ago

This was resolved in https://github.com/CAMI-challenge/OPAL/pull/26, closing this.