私はhtml5lib
が必要なPython3プログラムを実行していますが、エラーNo module named 'html5lib'
が表示されます。問題となる可能性がpython3 - 'html5lib'という名前のモジュールがありません
[email protected] ~ $ python
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2
>>> import html5lib
>>> html5lib.__file__
'/usr/local/lib/python2.7/dist-packages/html5lib/__init__.pyc'
>>> quit()
[email protected] ~ $ python3
Python 3.4.2 (default, Oct 8 2014, 10:45:20)
[GCC 4.9.1] on linux
>>> import html5lib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'html5lib'
>>>
:ここ
は、端末の2つのセッションですか?