LoginSignup
2
0

More than 1 year has passed since last update.

ModuleNotFoundError: No module named 'requests'。今日のpython error

Last updated at Posted at 2020-02-23

【Webスクレイピング】Qiitaのキーワード検索結果をいいね順にソート
https://qiita.com/h_no/items/b0f62fef31462035a31c

を動かしてみようとした。

Python Webスクレイピング テクニック集「取得できない値は無い」JavaScript対応@追記あり6/12
https://qiita.com/Azunyan1111/items/b161b998790b1db2ff7a

Python Webスクレイピング 実践入門
https://qiita.com/Azunyan1111/items/9b3d16428d2bcc7c9406

apt update; apt -y upgrade; apt install vim wget python3 python-pip sudo apt-utils

# python3 qiitas.py
Traceback (most recent call last):
  File "qiitas.py", line 1, in <module>
    from requests.exceptions import ConnectionError, TooManyRedirects, HTTPError
ModuleNotFoundError: No module named 'requests'

pip install python3-requests

文書履歴(document history)

ver. 0.01 初稿 20200223
ver. 0.04 URL追記 20230305

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0