Solution for "Import Error: No module named requests"

error contents

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    import requests
ImportError: No module named requests

approach

sudo python3 -m pip install requests

Recommended Posts

Solution for "Import Error: No module named requests"
Today's python error: ModuleNotFoundError: No module named
Today's python error: ModuleNotFoundError: No module named
Import Error in Python3: No module named'xxxxx'
python> import seiral> ImportError: No module named serial
Resolve No module named tkinter
What to do if you get Swagger-codegen in python and Import Error: No module named
All-round solution for permission error (permmision error)
Python error: ModuleNotFoundError: No module named'flask'
'lambda_function': No module named When'selenium' appears
Solution for scikit-learn (sklearn) fetch_mldata error
Django, nginx, uWSGI, virtualenv ImportError: No module named site Solution Note
When lambda-uploader says No module named xxxx.
Suddenly with Python PyInstaller No module named pyinstaller
Solution for pip install error [Python] [Mac]
Django / Apache / mod_wsgi: No module named importlib
Solution for run-time error in OpenVINO IEPlugin.load ()
ModuleNotFoundError: No module named'***' when running Flask
Today's python error: ModuleNotFoundError: No module named'requests'
ModuleNotFoundError in Python: No module named story
Today's python error: ModuleNotFoundError: No module named'bs4'
How to deal with "No module named'〇〇'" error in Jupyter Notebook | Install with! Pip!
[Note] The solution for Python on MacOSX where import hashlib causes an error
ModuleNotFoundError: No module named'_bz2' error in pyenv Python
AttributeError: module ‘torch.utils’ has no attribute ‘data’ solution
Import cv2 ModuleNotFoundError: No module named'cv2' in python3
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
About Python external module import <For super beginners>
Python module import
scikit-learn import error
When I try to import pandas on macOS I get the error No module named'_bz2'
Error: File contains no section headers. File: file: /////etc/yum.repos.d/CentOS-Base.repo, line: 1 solution
The problem that scikit-learn gives the error No module named'_bz2'
No module named What to do if you get'libs.resources'