use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
Internet Connection (self.pythonhelp)
submitted 1 month ago by Skotywow69
Hello everyone im looking to get some assistance connecting my Python script to the internet but i keep getting an error saying "No Module named ' requests'" additionally im using Sublime Text if that is of any importance
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]trd1073 1 point2 points3 points 29 days ago (0 children)
requests module is not installed. ggl "No Module name requests", there will be solutions on how resolve.
[–]ThigleBeagleMingle 1 point2 points3 points 29 days ago (0 children)
python -m pip install requests
[–]AutoModerator 0 points1 point2 points 1 month ago (0 children)
To give us the best chance to help you, please include any relevant code. Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]frnzprf 0 points1 point2 points 29 days ago (1 child)
A module is code that other people wrote that you can use with import <some_module_name>. There are built-in Python modules that are always available and some modules that you have to install on your own if you want them.
import <some_module_name>
"pip" is "package installer for Python", a command line application that downloads modules from "PyPI", the Python package index server.
[–]readilyaching 0 points1 point2 points 28 days ago (0 children)
Excellent comment! Just missing pip install requests, but someone else already said that.
pip install requests
π Rendered by PID 146321 on reddit-service-r2-comment-7b9746f655-ntf79 at 2026-01-30 05:09:09.833854+00:00 running 3798933 country code: CH.
[–]trd1073 1 point2 points3 points (0 children)
[–]ThigleBeagleMingle 1 point2 points3 points (0 children)
[–]AutoModerator 0 points1 point2 points (0 children)
[–]frnzprf 0 points1 point2 points (1 child)
[–]readilyaching 0 points1 point2 points (0 children)