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


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


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
  no module named 'docx' when importing docx MaartenRo 1 894 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 23,812 Nov-02-2023, 08:20 AM
Last Post: South_east
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,462 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,523 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,347 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,046 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 9,139 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,019 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,869 Oct-20-2022, 02:56 PM
Last Post: deanhystad
  ModuleNotFoundError: No module named '_struct' when starting pip3 yuhuihu 0 2,883 May-05-2022, 04:41 AM
Last Post: yuhuihu

Forum Jump:

User Panel Messages

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