I installed the requests package by downloading the code from GitHub and installing via command prompt in the usual way. However, attempting to import the module results in IDLE giving me this error
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import requests
File "requests.py", line 1
pip install requests
I had installed pip awhile back by simply running the get-pip.py file in IDLE but had never used it so I'm a little surprised to see it pop up now. I tried installing requests using pip but I always get an invalid syntax error. Anyone have a clue as to what's going on here? Thanks for the Help
EDIT: Right so what I'm doing is simply opening command line and typing pip install requests which results in me getting a message stating that requests is already installed (becuse I installed it using the setup.py file that was included in the GitHub distrubtion)
EDIT 2: Alright, so I just found my requests.py file and it only has one line..
pip install requests