Having trouble with 'import requests python on mac'? Need help getting it to work!

7 Replies, 1347 Views

Hey! I feel your pain. I had the same issue with *import requests python on mac* a while back. Turns out, I had multiple Python versions installed, and pip was installing requests for the wrong one.

Try running `which python3` and `which pip3` in your terminal to check which versions you're using. Then, use `python3 -m pip install requests` to make sure it installs for the correct Python version.

Also, check out [Real Python](https://realpython.com/) for some solid tutorials. They saved me a ton of headaches!

Messages In This Thread



Users browsing this thread: 1 Guest(s)