This forum is now read-only. Please use our new forums! Go to forums
import requests
when I try to apply this to my local python implementation the interpreter returns:
Traceback (most recent call last):
File "C:/programmingFiles/API practice", line 1, in <module>
import requests
ImportError: No module named requests
What did I miss?
Answer 534d81ae80ff338e3a000b7b
1 vote
The intalation is more simple than it appears in the docs. Just one in in the command line. On Linux or OS X:
pip install -U pip
On Windows:
python -m pip install -U pip
This installs and upgrades pip , efficient Python package management and installation module.
Then requests can be installed by another command line one liner:
pip install requests
Answer 52ea345f631fe921ea001bc2
Answer 53485011548c35aa79000733
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency