Python Request Module Not Working
I installed Python using Homebrew, I installed Pip and then using Pip I downloaded the Requests module. Just to double check I tried to install it again and got a confirmation in
Solution 1:
I'm a beginner in programming. Today, I was in the same problem. I spent many hours trying fix this problem. For me worked:
- open prompt comand
- cd (path of scripts directory in venv - my project on VisualStudio Code)
- pip install requests Then, I opened VS and put my code to go. It's work well.
Solution 2:
Make sure you are running the code in version 2.7 as you have installed the request package for 2.7 only. If by mistake you are running the code on version 3, then that request package won't work. In that case, you need to install the requests for python3.
Post a Comment for "Python Request Module Not Working"