I want to import the requests
module from Python into a program I am doing, but it does not stop giving the following error, as soon as I run the program:
ModuleNotFoundError: No module named 'requests'
I have the latest version of Python installed (I reinstalled directly from the official website yesterday) and already logged in with the sudo pip install requests
command in my MacOS Terminal to install the module. The module is already installed .
I do not know if I might need to put the module folder in the same folder as my program ... I do not know where to find the module folder anyway.
I'm new, so I'm sorry for ignorance.
Follow the code for my program.
import requests
#meu programa
And my program (the .py file) is located directly on the Desktop of my Mac.
Where is my error?
Thank you!