The error message you received indicates a timeout while trying to download the package from the Python Package Index (PyPI). This issue could be due to a slow or unstable internet connection or temporary server issues. Here are a few suggestions to resolve the problem:
Check your internet connection: Make sure you have a stable internet connection and try running the installation command again.
Upgrade pip: Ensure you have the latest version of pip by running the following command:
python -m pip install --upgrade pip
Use a different package index mirror: PyPI has multiple mirrors worldwide. You can try using a different mirror by adding the --index-url option to the installation command. For example:
pip install requests --index-url=https://pypi.org/simple/
I hope these suggestions help you resolve the timeout issue and successfully install the 'requests' module. If you have any further questions, feel free to ask.
Answer from lonely on Stack Exchangepip - How to install requests module in python 3.4 version on windows? - Stack Overflow
How to install requests module
Installing requests library?
How to install “requests” “panda as PD” and “time”
visit this link: https://datatofish.com/add-python-to-windows-path/
this will tell you how to add python to a path on windows so that you can access python from anywhere on the system.
if you need to use pip to install request:
python -m pip install requests
but before you run that command you have to make sure you are in pip folder,
which generally looks something like this:
c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip
The python path I think is not selected. Try reinstalling python and do this: solve python path
or this: solve python path
Check out this link: 'python' is not recognized as an internal or external command
Idk how to install it