简体   繁体   中英

Python3.6 No module named “readability.readability”

I'm trying to use readability module, but the error below occurs. How can I be able to user "readability"?

/usr/local/opt/python/bin/python3.6: No module named readability.readability

the command I did is below.

python -m readability.readability -u http://www.ndl.go.jp/jp/service/index.html

You need to install the readability package first by executing

$ pip install readability

Then you can use the module in your code or with your command.

To get a list of your currently installed modules simply type the following command:

$ pip list
docutils (0.10)
Jinja2 (2.7.2)
MarkupSafe (0.18)
Pygments (1.6)
Sphinx (1.2.1)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM