Python Forum
ModuleNotFoundError: No module named 'requests'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModuleNotFoundError: No module named 'requests'
#1
Installed the requests module, but it is not there. Why?

Attached Files

Thumbnail(s)
       
Reply
#2
do you have more than one version of python installed?
try python -V
and pip -V
then pip list
Reply
#3
The error say pip3.11 is not installed. Maybe -m py pip install requests or python3 -m pip install requests
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
Download my project scripts


Reply
#4
Only 3.11
Reply
#5
(Oct-29-2023, 09:13 PM)Larz60+ Wrote: do you have more than one version of python installed?
try python -V
and pip -V
then pip list
Larz60+ write Oct-30-2023, 02:41 PM:
Rather than videos, please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

Attached Files

Thumbnail(s)
   
Reply
#6
(Oct-29-2023, 09:19 PM)menator01 Wrote: The error say pip3.11 is not installed. Maybe -m py pip install requests or python3 -m pip install requests

Attached Files

Thumbnail(s)
   
Reply
#7
Please post text, not images. Use the Insert output button.
Reply
#8
PS C:\Users\berna> python3 -m pip install requests
Requirement already satisfied: requests in c:\users\berna\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\berna\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from requests) (3.3.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\berna\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from requests) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\berna\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from requests) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\berna\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from requests) (2023.7.22)
PS C:\Users\berna>
Reply
#9
As Larz60+ suggested, what does
python3 -m pip list or
python3.11 -m pip list

show?
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
Download my project scripts


Reply
#10
(Oct-29-2023, 10:06 PM)menator01 Wrote: As Larz60+ suggested, what does
python3 -m pip list or
python3.11 -m pip list

show?
PS C:\Users\berna> python3 -m pip list
Package Version
------------------ ---------
certifi 2023.7.22
charset-normalizer 3.3.1
idna 3.4
pip 23.3.1
requests 2.31.0
urllib3 2.0.7
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModuleNotFoundError: No module named 'tkcalendar', Thonny, Windows 10 Edward_ 4 800 Apr-06-2025, 07:56 PM
Last Post: Edward_
  No module named 'importlib.metadata' EdVS 3 1,041 Jan-30-2025, 09:55 AM
Last Post: Larz60+
  ModuleNotFoundError: No module named 'athena_read' raman 2 1,307 Jul-01-2024, 07:52 AM
Last Post: Gribouillis
  no module named 'docx' when importing docx MaartenRo 1 5,635 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 31,178 Nov-02-2023, 08:20 AM
Last Post: South_east
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 4,526 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 3,853 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 3,217 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 2,451 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 18,311 Jun-15-2023, 12:20 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020