
usr/local/lib/python3.6/site-packages/requests/_pycache_/ usr/local/lib/python3.6/site-packages/requests/_pycache_/_internal_ usr/local/lib/python3.6/site-packages/requests/_pycache_/_version_.cpython-36.pyc

usr/local/lib/python3.6/site-packages/requests/_pycache_/_init_.cpython-36.pyc usr/local/lib/python3.6/site-packages/requests/_init_.py usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/top_level.txt usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/metadata.json usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/WHEEL usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/RECORD usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/METADATA usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/LICENSE.txt usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/INSTALLER usr/local/lib/python3.6/site-packages/requests-2.24.0.dist-info/DESCRIPTION.rst ~]# pip3.6 uninstall requests Uninstalling requests-2.24.0: More can be checked on pip OfficialDocumentation. So you can use pip3.6 tool for installation as well as for uninstallation of python modules. If you want to uninstall requests module then you can do it by using pip3.6 uninstall requests command as shown below.
PIP3 NOT FOUND INSTALL
Similarly, you can install other python modules as well by using pip3.6 install command. Installing collected packages: certifi, urllib3, chardet, idna, requests ~]# pip3.6 install requests WARNING: Running pip install with root privileges is generally not a good idea. If you don't have this pip version installed then you can install it by using yum install python3-pip -y command. Since here we are using python3 so we need to use pip3.6 to install modules for this version. Here you only need to make sure that you have pip3.6 tool available as per the python version that you are going to use. You can use simply use pip3.6 install requests command to install requests module in your Server. Other way that you can use to install requests module is through pip3.6 tool. Installing collected packages: certifi, idna, chardet, urllib3, requests ~]# python3 -m pip install requests WARNING: Running pip install with root privileges is generally not a good idea. Now if you run the python program again you won't see "ModuleNotFoundError: No module named 'requests'" error. If you don't have python3 installed in your Server then you can install it by using yum install python3 -y command. Here you can notice that for this command to work you need to have python3 installed in your Server. If it is not installed then you can easily install by using python3 -m pip install requests command as shown below. If you are getting "ModuleNotFoundError: No module named 'requests'" error then it means either requests module is not installed or if it is installed then python is not able to find it.

PIP3 NOT FOUND HOW TO
Solved: ModuleNotFoundError: No module named 'requests' in Python 3Īlso Read: How to Properly Search PHP Modules using YUM tool in Linux(RHEL/CentOS 7/8) Both ways are explained below with examples.

You can install this or any other python modules by using 2 different ways.

In this article, I will show you how to install Python requests module if it is currently missing in your server. Are you trying to run python program and getting "ModuleNotFoundError: No module named 'requests" error ? Do you want to Know how to solve "ModuleNotFoundError: No module named 'requests'" error ? Do you want to know how to install a Python module on RHEL/CentOS Based Servers ? If you are looking answer for all these queries then you have reached the correct place.
